diff options
author | Simon Stelling <blubb@gentoo.org> | 2006-05-01 21:33:34 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2006-05-01 21:33:34 +0000 |
commit | b7fa7c80fbe46360e5f37e01f4f51ed2f2244191 (patch) | |
tree | 34567a68dc8bb099ed88d0450d18a456a170c155 | |
parent | 1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99 (diff) | |
download | portage-b7fa7c80fbe46360e5f37e01f4f51ed2f2244191.tar.gz portage-b7fa7c80fbe46360e5f37e01f4f51ed2f2244191.tar.bz2 portage-b7fa7c80fbe46360e5f37e01f4f51ed2f2244191.zip |
replace hardcoded /usr/lib/portage/bin with PORTAGE_BIN_PATH, defaulting to the hardcoded value
svn path=/main/trunk/; revision=3297
-rwxr-xr-x | bin/doexe | 2 | ||||
-rwxr-xr-x | bin/doins | 2 | ||||
-rwxr-xr-x | bin/doman | 2 | ||||
-rwxr-xr-x | bin/prepall | 2 | ||||
-rwxr-xr-x | bin/prepalldocs | 2 | ||||
-rwxr-xr-x | bin/prepallinfo | 2 | ||||
-rwxr-xr-x | bin/prepallman | 2 | ||||
-rwxr-xr-x | bin/prepinfo | 2 | ||||
-rwxr-xr-x | bin/preplib | 2 | ||||
-rwxr-xr-x | bin/prepman | 2 | ||||
-rwxr-xr-x | bin/prepstrip | 2 |
11 files changed, 11 insertions, 11 deletions
@@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/doexe,v 1.10.2.1 2004/12/06 03:01:43 carpaski Exp $ -source /usr/lib/portage/bin/isolated-functions.sh +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh if [[ $# -lt 1 ]] ; then echo "$0: at least one argument needed" 1>&2 @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/doins,v 1.7.2.2 2004/12/17 22:25:13 carpaski Exp $ -source /usr/lib/portage/bin/isolated-functions.sh +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh if [ $# -lt 1 ] ; then echo "${0}: at least one argument needed" @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/doman,v 1.13.2.2 2005/07/29 05:55:34 vapier Exp $ -source /usr/lib/portage/bin/isolated-functions.sh +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh if [[ $# -lt 1 ]] ; then echo "$0: at least one argument needed" 1>&2 diff --git a/bin/prepall b/bin/prepall index 74570e6e2..4772574a7 100755 --- a/bin/prepall +++ b/bin/prepall @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: prepall 2230 2005-11-01 01:35:59Z vapier $ -source /usr/lib/portage/bin/isolated-functions.sh +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh prepallman prepallinfo diff --git a/bin/prepalldocs b/bin/prepalldocs index a2c4e76e5..d8b8b7473 100755 --- a/bin/prepalldocs +++ b/bin/prepalldocs @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/prepalldocs,v 1.6 2004/10/04 13:56:50 vapier Exp $ -source /usr/lib/portage/bin/isolated-functions.sh +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh z="$(find "${D}"usr/share/doc \( -type f -or -type l \) -not -name "*.gz" -not -name "*.js" 2>/dev/null)" diff --git a/bin/prepallinfo b/bin/prepallinfo index 268d090df..205316ab1 100755 --- a/bin/prepallinfo +++ b/bin/prepallinfo @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/prepallinfo,v 1.6 2004/10/04 13:56:50 vapier Exp $ -source /usr/lib/portage/bin/isolated-functions.sh +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh [[ ! -d ${D}usr/share/info ]] && exit 0 diff --git a/bin/prepallman b/bin/prepallman index 582f4003f..85a7277d3 100755 --- a/bin/prepallman +++ b/bin/prepallman @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/prepallman,v 1.10 2004/10/04 13:56:50 vapier Exp $ -source /usr/lib/portage/bin/isolated-functions.sh +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh ret=0 diff --git a/bin/prepinfo b/bin/prepinfo index 5863ffd3f..dac4b6acc 100755 --- a/bin/prepinfo +++ b/bin/prepinfo @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/prepinfo,v 1.6.2.1 2005/05/29 12:40:08 jstubbs Exp $ -source /usr/lib/portage/bin/isolated-functions.sh +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh if [ -z "$1" ] ; then z="${D}usr/share/info" diff --git a/bin/preplib b/bin/preplib index b42fb9bae..ab784d2c5 100755 --- a/bin/preplib +++ b/bin/preplib @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/preplib,v 1.7.2.1 2005/01/02 09:36:02 jstubbs Exp $ -source /usr/lib/portage/bin/isolated-functions.sh +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh vecho "QA Notice: Please stop using me, fix your package instead" 1>&2 diff --git a/bin/prepman b/bin/prepman index ba70a4b8a..9e5e41984 100755 --- a/bin/prepman +++ b/bin/prepman @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/prepman,v 1.10.2.3 2005/05/29 12:40:08 jstubbs Exp $ -source /usr/lib/portage/bin/isolated-functions.sh +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh if [[ -z $1 ]] ; then z="${D}usr/share/man" diff --git a/bin/prepstrip b/bin/prepstrip index 44b6b519e..cd28ec111 100755 --- a/bin/prepstrip +++ b/bin/prepstrip @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: /var/cvsroot/gentoo-src/portage/bin/prepstrip,v 1.23.2.3 2005/08/15 02:58:20 vapier Exp $ -source /usr/lib/portage/bin/isolated-functions.sh +source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh if [[ " ${FEATURES} " == *" nostrip "* ]] || \ [[ " ${RESTRICT} " == *" nostrip "* ]] || \ |