summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 357756a4f..5f78c8e41 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1914,6 +1914,7 @@ ebuild_main() {
esac
export PATH="/usr/local/sbin:/sbin:/usr/sbin:${ebuild_helpers_path}:/usr/local/bin:/bin:/usr/bin:${ROOTPATH}"
+ [[ -n $PREROOTPATH ]] && export PATH="${PREROOTPATH%%:}:$PATH"
unset ebuild_helpers_path
if ! hasq $EBUILD_SH_ARGS clean depend help info nofetch ; then