summaryrefslogtreecommitdiff
path: root/src/chroot-tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot-tools')
-rwxr-xr-xsrc/chroot-tools/librechroot2
-rwxr-xr-xsrc/chroot-tools/libremakepkg2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index a1e01d0..dc242b2 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -317,7 +317,7 @@ main() {
*) usage >&2; return 1;;
esac
done
- shift $(($OPTIND - 1))
+ shift $((OPTIND - 1))
if [[ $# -lt 1 ]]; then
error "Must specify a command"
usage >&2
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