From: Ned Ludd Date: Sun, 25 Dec 2005 10:20:44 +0000 (-0000) Subject: - trim extraneous spaces tabs form feeds and newlines X-Git-Tag: v2.1_pre3~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fcfbd91af1251649777d1d2801948fcd1d2d2595;p=portage.git - trim extraneous spaces tabs form feeds and newlines svn path=/main/trunk/; revision=2467 --- 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