summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 58713f9d2..3d1fca10d 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -924,7 +924,7 @@ dyn_compile() {
echo "$RESTRICT" > RESTRICT
echo "$SLOT" > SLOT
echo "$USE" > USE
- echo "$EAPI" > EAPI
+ echo "${EAPI:-0}" > EAPI
set > environment
export -p | sed 's:declare -rx:declare -x:' >> environment