summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2005-12-25 10:20:44 +0000
committerNed Ludd <solar@gentoo.org>2005-12-25 10:20:44 +0000
commitfcfbd91af1251649777d1d2801948fcd1d2d2595 (patch)
tree78f069f3ccf424700c899804011cdfcb9fb663b8
parent7a06a1c15704b6df9e2b0adea209fa633d39df20 (diff)
downloadportage-fcfbd91af1251649777d1d2801948fcd1d2d2595.tar.gz
portage-fcfbd91af1251649777d1d2801948fcd1d2d2595.tar.bz2
portage-fcfbd91af1251649777d1d2801948fcd1d2d2595.zip
- trim extraneous spaces tabs form feeds and newlines
svn path=/main/trunk/; revision=2467
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 1f67cef71..55d456b0a 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -908,11 +908,11 @@ dyn_compile() {
touch .compiled
cd build-info
- for f in ASFLAGS CATEGORY CBUILD CC CDEPEND CFLAGS CHOST CXX \
+ for f in ASFLAGS CATEGORY CBUILD CC CFLAGS CHOST CXX \
CXXFLAGS DEPEND EXTRA_ECONF EXTRA_EINSTALL EXTRA_MAKE \
FEATURES INHERITED IUSE LDFLAGS LIBCFLAGS LIBCXXFLAGS \
LICENSE PDEPEND PF PKGUSE PROVIDE RDEPEND RESTRICT SLOT; do
- [ -n "${!f}" ] && echo "${!f}" > ${f}
+ [ -n "${!f}" ] && echo "${!f}" | tr '\n,\r,\t' ' , , ' | sed s/' \+'/' '/g > ${f}
done
echo "${USE}" > USE
echo "${EAPI:-0}" > EAPI