summaryrefslogtreecommitdiffstats
path: root/bin/prepalldocs
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-05-01 21:33:34 +0000
committerSimon Stelling <blubb@gentoo.org>2006-05-01 21:33:34 +0000
commitb7fa7c80fbe46360e5f37e01f4f51ed2f2244191 (patch)
tree34567a68dc8bb099ed88d0450d18a456a170c155 /bin/prepalldocs
parent1f8b4927f9e7f7a1918cc8d522ead79ce0aeae99 (diff)
downloadportage-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
Diffstat (limited to 'bin/prepalldocs')
-rwxr-xr-xbin/prepalldocs2
1 files changed, 1 insertions, 1 deletions
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)"