summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-12-25 09:01:05 +0000
committerNed Ludd <solar@gentoo.org>2005-12-25 09:01:05 +0000
commit7f506e51a256829bc59e3028471b73f8b269eec1 (patch)
tree2e55161dd874d478f8c7b2b50804d4130c86cbf2 /bin/ebuild.sh
parent1e1c18b4d3b000d4ba2e49606c5f65480b9d5ca4 (diff)
downloadportage-7f506e51a256829bc59e3028471b73f8b269eec1.tar.gz
portage-7f506e51a256829bc59e3028471b73f8b269eec1.tar.bz2
portage-7f506e51a256829bc59e3028471b73f8b269eec1.zip
- use -n syntax like most of ebuild.sh
svn path=/main/trunk/; revision=2458
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 a6da7b2b4..1efe6f88e 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -912,7 +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
- [ "${!f}" != "" ] && echo "${!f}" > ${f}
+ [ -n "${!f}" ] && echo "${!f}" > ${f}
done
echo "${USE}" > USE
echo "${EAPI:-0}" > EAPI