From 889ed1e4f180fdc4b8c871afca922e631e5cf502 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sun, 30 Sep 2012 13:22:07 +0200 Subject: [PATCH] chown: use locations from configure --- bin/ebuild-helpers/unprivileged/chown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ebuild-helpers/unprivileged/chown b/bin/ebuild-helpers/unprivileged/chown index cad34d947..2a60b5810 100755 --- a/bin/ebuild-helpers/unprivileged/chown +++ b/bin/ebuild-helpers/unprivileged/chown @@ -1,4 +1,4 @@ -#!/bin/bash +#!@PORTAGE_BASH@ # Copyright 2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 @@ -13,7 +13,7 @@ for path in ${PATH}; do IFS=$' \t\n' output=$("${path}/${scriptname}" "$@" 2>&1) if [[ $? -ne 0 ]] ; then - source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh + source "${PORTAGE_BIN_PATH:-@PORTAGE_BASE@/bin}"/isolated-functions.sh if ! ___eapi_has_prefix_variables; then EPREFIX= -- 2.26.2