From 23213bda24af601acbbea5731246a055680b48d0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 20 Apr 2017 22:39:20 -0400 Subject: Variables inside of $((...)) don't need a $ in front of them. These were found with the help of shellcheck. --- src/gitget/gitget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gitget') diff --git a/src/gitget/gitget b/src/gitget/gitget index 15a4f1b..7bdb9c9 100755 --- a/src/gitget/gitget +++ b/src/gitget/gitget @@ -196,7 +196,7 @@ main() { *) usage >&2; return 1;; esac done - shift $(($OPTIND - 1)) + shift $((OPTIND - 1)) [[ $# == 3 ]] || { usage >&2; return 1; } local mode=$1 local url=${2#git+} -- cgit v1.2.3-54-g00ecf