aboutsummaryrefslogtreecommitdiff
path: root/bin/sqs.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-06 14:25:39 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-06 14:26:06 +1300
commit0c4bf7de3604eeb00e2cf590867d43ceb2f0f85d (patch)
tree124ccc28400bfa078f0a701e6610cbba9564a710 /bin/sqs.sh
parentSubstitute bad `continue` for `return` (diff)
downloaddotfiles-0c4bf7de3604eeb00e2cf590867d43ceb2f0f85d.tar.gz
dotfiles-0c4bf7de3604eeb00e2cf590867d43ceb2f0f85d.zip
Remove unneeded semicolon from sh "for VAR ; do"
It turns out the semicolon belongs to the "in" syntax, and is optional without it.
Diffstat (limited to 'bin/sqs.sh')
-rw-r--r--bin/sqs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sqs.sh b/bin/sqs.sh
index 28435059..447a6563 100644
--- a/bin/sqs.sh
+++ b/bin/sqs.sh
@@ -8,7 +8,7 @@ if [ "$#" -eq 0 ] ; then
fi
# Iterate through the given files
-for sn ; do
+for sn do
# Strip trailing slash if any and then query string
sn=${sn%/}