aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers/cross-emerge')
-rwxr-xr-xwrappers/cross-emerge1
1 files changed, 1 insertions, 0 deletions
diff --git a/wrappers/cross-emerge b/wrappers/cross-emerge
index 72eca91..d7fc912 100755
--- a/wrappers/cross-emerge
+++ b/wrappers/cross-emerge
@@ -6,6 +6,7 @@
if [ -z "${CHOST}" ] ; then
CHOST=${0##*/}
CHOST=${CHOST%-emerge}
+ CHOST=${CHOST#emerge-}
fi
export CHOST