summaryrefslogtreecommitdiff
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
parentOnly do one round of directory removal attempts. As symlinks are now removed (diff)
downloadportage-multirepo-7f506e51a256829bc59e3028471b73f8b269eec1.tar.gz
portage-multirepo-7f506e51a256829bc59e3028471b73f8b269eec1.tar.bz2
portage-multirepo-7f506e51a256829bc59e3028471b73f8b269eec1.zip
- use -n syntax like most of ebuild.sh
svn path=/main/trunk/; revision=2458
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index a6da7b2b..1efe6f88 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