Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shellcheck and shfmt on bash scripts #204

Closed
wants to merge 21 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removing comment
Kaushik Malapati authored and Kaushik Malapati committed Oct 21, 2024
commit 9417a8ae2320b63f8aac9d80ad9f6d32950ca52d
2 changes: 1 addition & 1 deletion scripts/camViewer
Original file line number Diff line number Diff line change
@@ -314,7 +314,7 @@ if [ $MAINSCREEN -gt 0 ]; then
tmp=/tmp/cv.$$
list_cams "$hutch" > $tmp

c=$(wc $tmp | grep "$CAMNAME" $tmp | awk '{print $1}') # not sure what is happening here
c=$(wc $tmp | grep "$CAMNAME" $tmp | awk '{print $1}')
if [ "$c" == '' ]; then
echo "Camera name not found in hutch. To see which cameras you can access from your current machine use the '-l/--list' option."
sleep 3