summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-05-05 01:10:43 +0000
committerMike Frysinger <vapier@gentoo.org>2007-05-05 01:10:43 +0000
commit26619f2244f1d9290c5bc6a2e8860697cacc1cab (patch)
treee9a6ca1b763467109865827ef0fa80f10222052f /sys-devel
parentForce latest version of gnuconfig #177052 by Arkadi Shishlov. (diff)
downloadgentoo-2-26619f2244f1d9290c5bc6a2e8860697cacc1cab.tar.gz
gentoo-2-26619f2244f1d9290c5bc6a2e8860697cacc1cab.tar.bz2
gentoo-2-26619f2244f1d9290c5bc6a2e8860697cacc1cab.zip
use /etc/init.d/functions.sh #177101 by comio
(Portage version: 2.1.2.5)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/files/fix_libtool_files.sh8
1 files changed, 4 insertions, 4 deletions
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."