summaryrefslogtreecommitdiff
path: root/src/chroot-tools/librechroot
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot-tools/librechroot')
-rwxr-xr-xsrc/chroot-tools/librechroot6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index 48e83c2..c0ba4b4 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -108,7 +108,7 @@ chroot-run() {
"$_chroot_run" \
"${mkarchroot_flags[@]}" \
- "${chroot_run_flags[@]}"
+ "${chroot_run_flags[@]}" \
"$copydir" \
-- \
"${cmd[@]}"
@@ -338,8 +338,8 @@ main() {
-C "$tmppacmanconf"
-M "/usr/share/pacman/defaults/makepkg.conf.$OPTARG"
);;
- w) chroot_run_flags+=(-b "-B:$OPTARG:$OPTARG");;
- r) chroot_run_flags+=(-b "-Br:$OPTARG:$OPTARG");;
+ w) chroot_run_flags+=(-b "-B:$OPTARG");;
+ r) chroot_run_flags+=(-b "-Br:$OPTARG");;
*) usage >&2; return $EXIT_INVALIDARGUMENT;;
esac
used_opts[$opt]+=1