From 26619f2244f1d9290c5bc6a2e8860697cacc1cab Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 5 May 2007 01:10:43 +0000 Subject: use /etc/init.d/functions.sh #177101 by comio (Portage version: 2.1.2.5) --- sys-devel/gcc/files/fix_libtool_files.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys-devel') diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh index c144be22907a..ae684ade6129 100644 --- a/sys-devel/gcc/files/fix_libtool_files.sh +++ b/sys-devel/gcc/files/fix_libtool_files.sh @@ -1,7 +1,7 @@ #!/bin/bash -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/fix_libtool_files.sh,v 1.12 2005/01/30 18:45:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/files/fix_libtool_files.sh,v 1.13 2007/05/05 01:10:43 vapier Exp $ usage() { cat << "USAGE_END" @@ -38,8 +38,8 @@ ARGV1=$1 ARGV2=$2 ARGV3=$3 -source /etc/profile -source /sbin/functions.sh +source /etc/profile || exit 1 +source /etc/init.d/functions.sh || exit 1 if [[ ${EUID} -ne 0 ]] ; then eerror "${0##*/}: Must be root." -- cgit v1.2.3-65-gdbad