summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-03 03:24:00 -0500
committerJune McEnroe <june@causal.agency>2020-03-03 03:24:00 -0500
commit60eccd34482fe1f6daf15d0e0ff95b2dc6c6b17c (patch)
tree639d0c3a1493d36c7bbbcd8e68837825bef4cb81
parentRemove setopt (diff)
downloadsrc-60eccd34482fe1f6daf15d0e0ff95b2dc6c6b17c.tar.gz
src-60eccd34482fe1f6daf15d0e0ff95b2dc6c6b17c.zip
Don't use $ inside $(())
Diffstat (limited to '')
-rw-r--r--bin/up.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/up.sh b/bin/up.sh
index 8b70de70..e65d4522 100644
--- a/bin/up.sh
+++ b/bin/up.sh
@@ -67,7 +67,7 @@ while getopts 'chst' opt; do
 		(?) exit 1;;
 	esac
 done
-shift $(($OPTIND - 1))
+shift $((OPTIND - 1))
 [ $# -eq 0 ] && : ${fn:=uploadText}
 : ${fn:=upload}