xbps-src: append /usr/local/bin to PATH in all chroot ops.
This commit is contained in:
parent
42d3f71c16
commit
0115bd2507
1 changed files with 3 additions and 1 deletions
|
@ -305,6 +305,7 @@ xbps_chroot_handler()
|
|||
|
||||
# Update ld.so(8) cache
|
||||
msg_normal "Updating ld.so(8) cache...\n"
|
||||
env PATH=$PATH:/usr/local/bin \
|
||||
${chroot_cmd} $XBPS_MASTERDIR sh -c "ldconfig" || return $?
|
||||
|
||||
if [ "$action" = "chroot" ]; then
|
||||
|
@ -317,6 +318,7 @@ xbps_chroot_handler()
|
|||
|
||||
action="$arg $action"
|
||||
env in_chroot=1 IN_CHROOT=1 LANG=C _ORIGINPKG="$pkg" \
|
||||
PATH=$PATH:/usr/local/bin \
|
||||
${chroot_cmd} $XBPS_MASTERDIR sh -c \
|
||||
"cd /xbps/srcpkgs/$pkg && xbps-src $action" || rv=$?
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue