diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-07 10:53:52 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-07 10:53:52 -0400 |
commit | b1a47e5ca3587b40b1e417cc568475e09aa3bbc1 (patch) | |
tree | 6f731306faecd0f3eb0975b09bda543d69b3a6f8 /src | |
parent | 5ddbb379d1909903ef471aefb95cb106466f049d (diff) |
libremakepkg: fix possible sudo option parsing bug
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 ############################### |