aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2009-09-26 20:23:46 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2009-09-26 20:25:55 +0100
commit88cf88263238d14a4bf8bb528f64802cca18b4f1 (patch)
tree60a8b1fe1438bf8302ccdea06b93fc0b37daaa2c
parenta866a87949f80a3659ce8ee89298461ebe1461f1 (diff)
downloadpaludis-88cf88263238d14a4bf8bb528f64802cca18b4f1.tar.gz
paludis-88cf88263238d14a4bf8bb528f64802cca18b4f1.tar.xz
Stop overriding PATH in utils
This was apparently added because of sandbox clobbering PATH, but it doesn't appear to do so anymore, possibly because we avoid executing sandbox.bashrc now. Overriding PATH is bad because it means that if util A calls util B, and util B has a special version for some EAPIs, util A will call the wrong one unless it to is customised.
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doconfd1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doenvd1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doinitd2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doins1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dolib.a2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dolib.so2
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/donewins1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/dosym1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/exheres-0/herebin1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/exheres-0/hereconfd1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/exheres-0/hereenvd1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/exheres-0/hereinitd1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/exheres-0/hereins1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/exheres-0/heresbin1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newbin1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newconfd1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newdoc1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newenvd1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newexe1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newinitd1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newins1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newlib.a1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newlib.so1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newman1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newsbin1
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/prep.in1
26 files changed, 0 insertions, 29 deletions
diff --git a/paludis/repositories/e/ebuild/utils/doconfd b/paludis/repositories/e/ebuild/utils/doconfd
index 36d8241..230c47e 100755
--- a/paludis/repositories/e/ebuild/utils/doconfd
+++ b/paludis/repositories/e/ebuild/utils/doconfd
@@ -22,7 +22,6 @@
# Place, Suite 330, Boston, MA 02111-1307 USA
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
-export PATH="${PALUDIS_EBUILD_DIR:+${PALUDIS_EBUILD_DIR}/utils:}${PATH}"
if [[ ${#} -lt 1 ]]; then
paludis_die_or_error "at least one argument needed"
diff --git a/paludis/repositories/e/ebuild/utils/doenvd b/paludis/repositories/e/ebuild/utils/doenvd
index 5882bc7..3ba4c08 100755
--- a/paludis/repositories/e/ebuild/utils/doenvd
+++ b/paludis/repositories/e/ebuild/utils/doenvd
@@ -22,7 +22,6 @@
# Place, Suite 330, Boston, MA 02111-1307 USA
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
-export PATH="${PALUDIS_EBUILD_DIR:+${PALUDIS_EBUILD_DIR}/utils:}${PATH}"
if [[ ${#} -lt 1 ]]; then
paludis_die_or_error "at least one argument needed"
diff --git a/paludis/repositories/e/ebuild/utils/doinitd b/paludis/repositories/e/ebuild/utils/doinitd
index d753572..f0812ab 100755
--- a/paludis/repositories/e/ebuild/utils/doinitd
+++ b/paludis/repositories/e/ebuild/utils/doinitd
@@ -23,8 +23,6 @@
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
-export PATH="${PALUDIS_EBUILD_DIR:+${PALUDIS_EBUILD_DIR}/utils:}${PATH}"
-
if [[ ${#} -lt 1 ]]; then
paludis_die_or_error "at least one argument needed"
fi
diff --git a/paludis/repositories/e/ebuild/utils/doins b/paludis/repositories/e/ebuild/utils/doins
index f1fe6b9..76ffa31 100755
--- a/paludis/repositories/e/ebuild/utils/doins
+++ b/paludis/repositories/e/ebuild/utils/doins
@@ -21,7 +21,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_IMAGE_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/dolib.a b/paludis/repositories/e/ebuild/utils/dolib.a
index 9a0d290..64db362 100755
--- a/paludis/repositories/e/ebuild/utils/dolib.a
+++ b/paludis/repositories/e/ebuild/utils/dolib.a
@@ -21,7 +21,5 @@
# 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}"
-
LIBOPTIONS="-m0644" dolib "$@"
diff --git a/paludis/repositories/e/ebuild/utils/dolib.so b/paludis/repositories/e/ebuild/utils/dolib.so
index 67fb84a..9eb5454 100755
--- a/paludis/repositories/e/ebuild/utils/dolib.so
+++ b/paludis/repositories/e/ebuild/utils/dolib.so
@@ -21,6 +21,4 @@
# 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}"
-
LIBOPTIONS="-m0755" dolib "$@"
diff --git a/paludis/repositories/e/ebuild/utils/donewins b/paludis/repositories/e/ebuild/utils/donewins
index d4c8109..6ac753b 100755
--- a/paludis/repositories/e/ebuild/utils/donewins
+++ b/paludis/repositories/e/ebuild/utils/donewins
@@ -21,7 +21,6 @@
# 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}"
source ${PALUDIS_EBUILD_DIR}/pipe_functions.bash
source ${PALUDIS_EBUILD_DIR}/output_functions.bash
diff --git a/paludis/repositories/e/ebuild/utils/dosym b/paludis/repositories/e/ebuild/utils/dosym
index 18f088e..bb5f3c5 100755
--- a/paludis/repositories/e/ebuild/utils/dosym
+++ b/paludis/repositories/e/ebuild/utils/dosym
@@ -21,7 +21,6 @@
# 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}"
source ${PALUDIS_EBUILD_DIR}/die_functions.bash
source ${PALUDIS_EBUILD_DIR}/pipe_functions.bash
source ${PALUDIS_EBUILD_DIR}/output_functions.bash
diff --git a/paludis/repositories/e/ebuild/utils/exheres-0/herebin b/paludis/repositories/e/ebuild/utils/exheres-0/herebin
index 5f15e11..6d5c5a8 100755
--- a/paludis/repositories/e/ebuild/utils/exheres-0/herebin
+++ b/paludis/repositories/e/ebuild/utils/exheres-0/herebin
@@ -17,7 +17,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/exheres-0/hereconfd b/paludis/repositories/e/ebuild/utils/exheres-0/hereconfd
index 70ce6d6..cf6d306 100755
--- a/paludis/repositories/e/ebuild/utils/exheres-0/hereconfd
+++ b/paludis/repositories/e/ebuild/utils/exheres-0/hereconfd
@@ -17,7 +17,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/exheres-0/hereenvd b/paludis/repositories/e/ebuild/utils/exheres-0/hereenvd
index 0359f7e..484cea5 100755
--- a/paludis/repositories/e/ebuild/utils/exheres-0/hereenvd
+++ b/paludis/repositories/e/ebuild/utils/exheres-0/hereenvd
@@ -17,7 +17,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/exheres-0/hereinitd b/paludis/repositories/e/ebuild/utils/exheres-0/hereinitd
index 26036b5..8bc80a4 100755
--- a/paludis/repositories/e/ebuild/utils/exheres-0/hereinitd
+++ b/paludis/repositories/e/ebuild/utils/exheres-0/hereinitd
@@ -17,7 +17,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/exheres-0/hereins b/paludis/repositories/e/ebuild/utils/exheres-0/hereins
index 04b97a5..95e8548 100755
--- a/paludis/repositories/e/ebuild/utils/exheres-0/hereins
+++ b/paludis/repositories/e/ebuild/utils/exheres-0/hereins
@@ -17,7 +17,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/exheres-0/heresbin b/paludis/repositories/e/ebuild/utils/exheres-0/heresbin
index b9e4412..65a6a63 100755
--- a/paludis/repositories/e/ebuild/utils/exheres-0/heresbin
+++ b/paludis/repositories/e/ebuild/utils/exheres-0/heresbin
@@ -17,7 +17,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/newbin b/paludis/repositories/e/ebuild/utils/newbin
index b275976..19f0caa 100755
--- a/paludis/repositories/e/ebuild/utils/newbin
+++ b/paludis/repositories/e/ebuild/utils/newbin
@@ -21,7 +21,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/newconfd b/paludis/repositories/e/ebuild/utils/newconfd
index 65d623b..917141e 100755
--- a/paludis/repositories/e/ebuild/utils/newconfd
+++ b/paludis/repositories/e/ebuild/utils/newconfd
@@ -21,7 +21,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/newdoc b/paludis/repositories/e/ebuild/utils/newdoc
index b2b2857..70c7ee8 100755
--- a/paludis/repositories/e/ebuild/utils/newdoc
+++ b/paludis/repositories/e/ebuild/utils/newdoc
@@ -21,7 +21,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/newenvd b/paludis/repositories/e/ebuild/utils/newenvd
index b3cead1..3836c39 100755
--- a/paludis/repositories/e/ebuild/utils/newenvd
+++ b/paludis/repositories/e/ebuild/utils/newenvd
@@ -21,7 +21,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/newexe b/paludis/repositories/e/ebuild/utils/newexe
index 93778f4..236b48d 100755
--- a/paludis/repositories/e/ebuild/utils/newexe
+++ b/paludis/repositories/e/ebuild/utils/newexe
@@ -21,7 +21,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/newinitd b/paludis/repositories/e/ebuild/utils/newinitd
index fe4dc58..a4b34a6 100755
--- a/paludis/repositories/e/ebuild/utils/newinitd
+++ b/paludis/repositories/e/ebuild/utils/newinitd
@@ -21,7 +21,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/newins b/paludis/repositories/e/ebuild/utils/newins
index 758d064..6ed5264 100755
--- a/paludis/repositories/e/ebuild/utils/newins
+++ b/paludis/repositories/e/ebuild/utils/newins
@@ -21,7 +21,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/newlib.a b/paludis/repositories/e/ebuild/utils/newlib.a
index 854654b..cb06edd 100755
--- a/paludis/repositories/e/ebuild/utils/newlib.a
+++ b/paludis/repositories/e/ebuild/utils/newlib.a
@@ -21,7 +21,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/newlib.so b/paludis/repositories/e/ebuild/utils/newlib.so
index ad12638..e01bc4a 100755
--- a/paludis/repositories/e/ebuild/utils/newlib.so
+++ b/paludis/repositories/e/ebuild/utils/newlib.so
@@ -21,7 +21,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/newman b/paludis/repositories/e/ebuild/utils/newman
index 742c32c..9318eee 100755
--- a/paludis/repositories/e/ebuild/utils/newman
+++ b/paludis/repositories/e/ebuild/utils/newman
@@ -21,7 +21,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/newsbin b/paludis/repositories/e/ebuild/utils/newsbin
index 3adb105..afa0044 100755
--- a/paludis/repositories/e/ebuild/utils/newsbin
+++ b/paludis/repositories/e/ebuild/utils/newsbin
@@ -21,7 +21,6 @@
# 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}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
diff --git a/paludis/repositories/e/ebuild/utils/prep.in b/paludis/repositories/e/ebuild/utils/prep.in
index cb6a5cb..bbf7e3a 100755
--- a/paludis/repositories/e/ebuild/utils/prep.in
+++ b/paludis/repositories/e/ebuild/utils/prep.in
@@ -17,7 +17,6 @@
# 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}"
source ${PALUDIS_EBUILD_DIR}/pipe_functions.bash
source ${PALUDIS_EBUILD_DIR}/output_functions.bash