summaryrefslogtreecommitdiff
path: root/mkarchroot.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-05-05 18:41:07 -0400
committerErich Eckner <git@eckner.net>2017-07-14 06:54:28 +0200
commit18e2fc20d4eeaa17d4aa1b9b5e323598d68e5227 (patch)
tree15929511cfea529fe343d18bcbd7e49b9bab5eed /mkarchroot.in
parentbc06145c261145de6a82e9b4ad70de84bf961c0b (diff)
downloaddevtools-18e2fc20d4eeaa17d4aa1b9b5e323598d68e5227.tar.xz
Make purely stylistic changes to make shellcheck happier.
These are purely stylistic changes that make shellcheck complain less. This does NOT include things like quoting currently unquoted variables.
Diffstat (limited to 'mkarchroot.in')
-rw-r--r--mkarchroot.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkarchroot.in b/mkarchroot.in
index 3aff357..152d323 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -40,7 +40,7 @@ while getopts 'hC:M:c:f:s' arg; do
*) error "invalid argument '%s'" "$arg"; usage ;;
esac
done
-shift $(($OPTIND - 1))
+shift $((OPTIND - 1))
(( $# < 2 )) && die 'You must specify a directory and one or more packages.'