commit:     21a0f5a3d83084436e6f6b66114cc5c593528866
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 10 13:04:46 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Mar 10 13:04:46 2018 +0000
URL:        https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=21a0f5a3

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 <AT> gentoo.org>

 wrappers/cross-emerge | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 

Reply via email to