diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-20 22:39:20 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-20 23:00:21 -0400 |
commit | 23213bda24af601acbbea5731246a055680b48d0 (patch) | |
tree | 09fe7c18f2d5cecca569658c4968357274392769 /src/gitget | |
parent | d958a33c1f0e11b770481a9188cbf75cc3bfd0a5 (diff) |
Variables inside of $((...)) don't need a $ in front of them.
These were found with the help of shellcheck.
Diffstat (limited to 'src/gitget')
-rwxr-xr-x | src/gitget/gitget | 2 |
1 files changed, 1 insertions, 1 deletions
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+} |