From 04c74cbbf4280202d7db1410b202b62882663ca6 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Tue, 3 Mar 2020 03:24:00 -0500 Subject: Don't use $ inside $(()) --- bin/up.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- cgit 1.4.1