diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-19 23:26:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-19 23:26:13 +0000 |
commit | 404c75418829af67ce09e564910b3ae7d90672c9 (patch) | |
tree | 1fd5e41655c85bb4294fa7bd780dfcd61e3ddf16 /sys-devel/gcc-config/files | |
parent | move back into unstable (diff) | |
download | gentoo-2-404c75418829af67ce09e564910b3ae7d90672c9.tar.gz gentoo-2-404c75418829af67ce09e564910b3ae7d90672c9.tar.bz2 gentoo-2-404c75418829af67ce09e564910b3ae7d90672c9.zip |
make sure $ROOT has a trailing /
(Portage version: 2.0.51-r13)
Diffstat (limited to 'sys-devel/gcc-config/files')
-rwxr-xr-x | sys-devel/gcc-config/files/gcc-config-1.3.8 | 3 | ||||
-rwxr-xr-x | sys-devel/gcc-config/files/gcc-config-1.3.9 | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys-devel/gcc-config/files/gcc-config-1.3.8 b/sys-devel/gcc-config/files/gcc-config-1.3.8 index 4c5b43b72296..3e186aa950f8 100755 --- a/sys-devel/gcc-config/files/gcc-config-1.3.8 +++ b/sys-devel/gcc-config/files/gcc-config-1.3.8 @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.8,v 1.5 2005/01/05 05:33:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.8,v 1.6 2005/01/19 23:26:13 vapier Exp $ # Author: Martin Schlemmer <azarah@gentoo.org> trap ":" INT QUIT TSTP @@ -360,6 +360,7 @@ CHECK_CHOST="no" CC_COMP= [[ -z ${ROOT} ]] && ROOT="/" +[[ ${ROOT:-1} != "/" ]] && ROOT="${ROOT}/" ENV_D="${ROOT}etc/env.d" GCC_ENV_D="${ENV_D}/gcc" diff --git a/sys-devel/gcc-config/files/gcc-config-1.3.9 b/sys-devel/gcc-config/files/gcc-config-1.3.9 index 4a6689342815..fb5d8063fb41 100755 --- a/sys-devel/gcc-config/files/gcc-config-1.3.9 +++ b/sys-devel/gcc-config/files/gcc-config-1.3.9 @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.9,v 1.3 2005/01/07 20:14:57 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.3.9,v 1.4 2005/01/19 23:26:13 vapier Exp $ # Author: Martin Schlemmer <azarah@gentoo.org> trap ":" INT QUIT TSTP @@ -363,6 +363,7 @@ CHECK_CHOST="no" CC_COMP= [[ -z ${ROOT} ]] && ROOT="/" +[[ ${ROOT:-1} != "/" ]] && ROOT="${ROOT}/" ENV_D="${ROOT}etc/env.d" GCC_ENV_D="${ENV_D}/gcc" |