diff options
author | June McEnroe <june@causal.agency> | 2020-03-03 03:24:00 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-03-03 03:24:00 -0500 |
commit | 60eccd34482fe1f6daf15d0e0ff95b2dc6c6b17c (patch) | |
tree | 639d0c3a1493d36c7bbbcd8e68837825bef4cb81 | |
parent | Remove setopt (diff) | |
download | src-60eccd34482fe1f6daf15d0e0ff95b2dc6c6b17c.tar.gz src-60eccd34482fe1f6daf15d0e0ff95b2dc6c6b17c.zip |
Don't use $ inside $(())
Diffstat (limited to '')
-rw-r--r-- | bin/up.sh | 2 |
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} |