selfupdate: Reset PATH before installing

This prevents picking up any tools from the buildbot environment.
This commit is contained in:
Rainer Müller
2016-12-02 21:19:33 +01:00
parent fa12d54d2d
commit ba3dc1a105
+1 -1
View File
@@ -32,7 +32,7 @@ selfupdate() {
tar -xjf ${macports_distfile} || return
fi
cd ${macports_distname} || return
./configure --prefix="${option_prefix}" --enable-readline || return
PATH=/usr/bin:/bin:/usr/sbin:/sbin ./configure --prefix="${option_prefix}" --enable-readline || return
make -j"$(sysctl -n hw.activecpu)" || return
make install || return
cd .. || return