diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-03-28 18:48:29 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-05-04 21:09:14 -0400 |
commit | 168341e04931b1203740870e57966ce0f1d19e0d (patch) | |
tree | edee1932dc765b04962ce5d087312f4dfb0bd116 /mkarchroot.in | |
parent | 368a6d2a37a8eb88da4a5a393b1f685c240835d5 (diff) | |
download | devtools-168341e04931b1203740870e57966ce0f1d19e0d.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.in | 2 |
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.' |