summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-03 03:24:41 -0500
committerJune McEnroe <june@causal.agency>2020-03-03 03:24:41 -0500
commit17e63674b2b5eacfcf2cebf1121a981da6467683 (patch)
tree93b29d642d9215bd75e218aea6a3201bc5c1718a
parentUse getopts (diff)
downloadimbox-17e63674b2b5eacfcf2cebf1121a981da6467683.tar.gz
imbox-17e63674b2b5eacfcf2cebf1121a981da6467683.zip
Don't use $ inside $(()) 1.0p1
-rw-r--r--git-fetch-email.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-fetch-email.sh b/git-fetch-email.sh
index 80b3bb7..92455d5 100644
--- a/git-fetch-email.sh
+++ b/git-fetch-email.sh
@@ -38,7 +38,7 @@ while getopts 'C:F:S:T:h:m:p:' opt; do
 		(?) exit 1;;
 	esac
 done
-shift $(($OPTIND - 1))
+shift $((OPTIND - 1))
 [ $# -ne 0 ] && user=$1
 if [ -z "${user:-}" ]; then
 	echo "$0: username required"