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 | 04c74cbbf4280202d7db1410b202b62882663ca6 (patch) | |
tree | 0a113f18d9e9482c64ebd5fd59f60b0f75dfa53b /bin | |
parent | Remove setopt (diff) | |
download | src-04c74cbbf4280202d7db1410b202b62882663ca6.tar.gz src-04c74cbbf4280202d7db1410b202b62882663ca6.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} |