aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-03-10 13:04:46 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2018-03-10 13:04:46 +0000
commit21a0f5a3d83084436e6f6b66114cc5c593528866 (patch)
tree85e31ac52f0c8d4e365b1de385e74fb3fbd5406f /wrappers
parentcrossdev: disable fortran in gcc-stage2 no bare-metal targets, bug #589672 (diff)
downloadcrossdev-21a0f5a3d83084436e6f6b66114cc5c593528866.tar.gz
crossdev-21a0f5a3d83084436e6f6b66114cc5c593528866.tar.bz2
crossdev-21a0f5a3d83084436e6f6b66114cc5c593528866.zip
cross-emerge: tweak EPREFIX handling to be POSIX sh, bug #650100
Reported and fixed by Scall. Reported-by: Scall Fixed-by: Scall Closes: https://bugs.gentoo.org/650100 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'wrappers')
-rwxr-xr-xwrappers/cross-emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrappers/cross-emerge b/wrappers/cross-emerge
index fb98951..d775b90 100755
--- a/wrappers/cross-emerge
+++ b/wrappers/cross-emerge
@@ -10,7 +10,7 @@ fi
export CHOST
EPREFIX="@GENTOO_PORTAGE_EPREFIX@"
-if [[ ${EPREFIX} == "@"GENTOO_PORTAGE_EPREFIX"@" ]] ; then
+if [ ${EPREFIX} = "@"GENTOO_PORTAGE_EPREFIX"@" ] ; then
EPREFIX=""
fi