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/chroot-tools/libremakepkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chroot-tools/libremakepkg') diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg index 84a7609..d74c78b 100755 --- a/src/chroot-tools/libremakepkg +++ b/src/chroot-tools/libremakepkg @@ -197,7 +197,7 @@ main() { *) usage >&2; return 1;; esac done - shift $(($OPTIND - 1)) + shift $((OPTIND - 1)) if [[ $# != 0 ]]; then error 'Extra arguments: %s' "$*" return 1 -- cgit v1.2.3-54-g00ecf