aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-01-08 14:05:55 -0500
committerMike Gilbert <floppym@gentoo.org>2022-01-08 14:15:17 -0500
commitd7aedfa1bc07a252041cc12bffb3c7a81e067121 (patch)
treef68c4b909873a9c95edfb3222f8f3693415c1f43
parentbinutils-config: add support for special 'latest' version for profile switch (diff)
downloadbinutils-config-d7aedfa1bc07a252041cc12bffb3c7a81e067121.tar.gz
binutils-config-d7aedfa1bc07a252041cc12bffb3c7a81e067121.tar.bz2
binutils-config-d7aedfa1bc07a252041cc12bffb3c7a81e067121.zip
Use @GENTOO_EPREFIX@ instead of @GENTOO_PORTAGE_EPREFIX@
This matches the sed expression in the Makefile, and the expression used in gcc-config. Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rwxr-xr-xsrc/binutils-config4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binutils-config b/src/binutils-config
index 6604a14..28bb044 100755
--- a/src/binutils-config
+++ b/src/binutils-config
@@ -6,8 +6,8 @@
# config-TARGET: CURRENT=version for TARGET
# TARGET-VER: has a TARGET and VER variable
-EPREFIX="@GENTOO_PORTAGE_EPREFIX@"
-if [[ ${EPREFIX} == "@"GENTOO_PORTAGE_EPREFIX"@" ]] ; then
+EPREFIX="@GENTOO_EPREFIX@"
+if [[ ${EPREFIX} == "@"GENTOO_EPREFIX"@" ]] ; then
EPREFIX=""
fi