summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 4cdf49869..a6da7b2b4 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -912,8 +912,7 @@ dyn_compile() {
CXXFLAGS DEPEND EXTRA_ECONF EXTRA_EINSTALL EXTRA_MAKE \
FEATURES INHERITED IUSE LDFLAGS LIBCFLAGS LIBCXXFLAGS \
LICENSE PDEPEND PF PKGUSE PROVIDE RDEPEND RESTRICT SLOT; do
- local entry="${!f}"
- [[ $entry != "" ]] && echo "${entry}" > $f
+ [ "${!f}" != "" ] && echo "${!f}" > ${f}
done
echo "${USE}" > USE
echo "${EAPI:-0}" > EAPI