aboutsummaryrefslogtreecommitdiff
path: root/ebuild/utils/newexe
diff options
context:
space:
mode:
Diffstat (limited to 'ebuild/utils/newexe')
-rw-r--r--ebuild/utils/newexe2
1 files changed, 2 insertions, 0 deletions
diff --git a/ebuild/utils/newexe b/ebuild/utils/newexe
index 50814ea..9a5cb35 100644
--- a/ebuild/utils/newexe
+++ b/ebuild/utils/newexe
@@ -21,6 +21,8 @@
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA
+export PATH="${PALUDIS_EBUILD_DIR:+${PALUDIS_EBUILD_DIR}/utils:}${PATH}"
+
if [[ ! -d ${T} ]]; then
echo "${0}: \${T} not valid; aborting" >&2
exit 247