From b1a47e5ca3587b40b1e417cc568475e09aa3bbc1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 7 May 2013 10:53:52 -0400 Subject: libremakepkg: fix possible sudo option parsing bug --- src/chroot-tools/libremakepkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/chroot-tools') 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 ############################### -- cgit v1.2.2