1 |
commit: 889ed1e4f180fdc4b8c871afca922e631e5cf502 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 30 11:22:07 2012 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 30 11:22:07 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=889ed1e4 |
7 |
|
8 |
chown: use locations from configure |
9 |
|
10 |
--- |
11 |
bin/ebuild-helpers/unprivileged/chown | 4 ++-- |
12 |
1 files changed, 2 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/bin/ebuild-helpers/unprivileged/chown b/bin/ebuild-helpers/unprivileged/chown |
15 |
index cad34d9..2a60b58 100755 |
16 |
--- a/bin/ebuild-helpers/unprivileged/chown |
17 |
+++ b/bin/ebuild-helpers/unprivileged/chown |
18 |
@@ -1,4 +1,4 @@ |
19 |
-#!/bin/bash |
20 |
+#!@PORTAGE_BASH@ |
21 |
# Copyright 2012 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
@@ -13,7 +13,7 @@ for path in ${PATH}; do |
25 |
IFS=$' \t\n' |
26 |
output=$("${path}/${scriptname}" "$@" 2>&1) |
27 |
if [[ $? -ne 0 ]] ; then |
28 |
- source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh |
29 |
+ source "${PORTAGE_BIN_PATH:-@PORTAGE_BASE@/bin}"/isolated-functions.sh |
30 |
|
31 |
if ! ___eapi_has_prefix_variables; then |
32 |
EPREFIX= |