Fix previous when building base_chroot pkgs.
--HG-- extra : convert_revision : c46fd838deeb92ac89047bd32a9a0bef421e2aa5
This commit is contained in:
parent
e59520869b
commit
82b01212ad
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ run_rootcmd()
|
|||
lenv="XBPS_DISTRIBUTIONDIR=$XBPS_DISTRIBUTIONDIR $lenv"
|
||||
|
||||
shift
|
||||
if [ -n "$usesudo" -a -z "$in_chroot" ]; then
|
||||
if [ "$usesudo" = "yes" -a -z "$in_chroot" ]; then
|
||||
sudo env ${lenv} $@
|
||||
else
|
||||
env ${lenv} ${fakeroot_cmd} $@
|
||||
|
|
Loading…
Reference in a new issue