From 60eccd34482fe1f6daf15d0e0ff95b2dc6c6b17c Mon Sep 17 00:00:00 2001 From: June 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(-) (limited to 'bin') 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