diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/chroot-tools/libremakepkg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg index b8cdca1..9267496 100755 --- a/src/chroot-tools/libremakepkg +++ b/src/chroot-tools/libremakepkg @@ -161,7 +161,7 @@ extract() { clean=/clean fi - run "$copydir" "${clean} && sudo -u ${user} makepkg ${makepkg_args} -o" + run "$copydir" "${clean} && sudo -u ${user} -- makepkg ${makepkg_args} -o" rm -f "$copydir"/clean } @@ -175,7 +175,7 @@ build() { local user=$LIBREUSER $INCHROOT || user=nobody - run -N "$copydir" "sudo -u ${user} makepkg ${makepkg_args} -e" + run -N "$copydir" "sudo -u ${user} -- makepkg ${makepkg_args} -e" } # Functions that check for issues with the build ############################### |