Author: jhuntwork
Date: 2005-11-12 21:42:32 -0700 (Sat, 12 Nov 2005)
New Revision: 1070
Modified:
trunk/packages/binutils/Makefile
Log:
No need to cat | grep on a file
Modified: trunk/packages/binutils/Makefile
===================================================================
--- trunk/packages/binutils/Makefile 2005-11-13 04:39:41 UTC (rev 1069)
+++ trunk/packages/binutils/Makefile 2005-11-13 04:42:32 UTC (rev 1070)
@@ -68,7 +68,7 @@
adjust-toolchain:
echo 'main(){}' > dummy.c && cc dummy.c && \
readelf -l a.out > .specstest
- if ! cat .specstest | grep -q $(WD) ; then cd $(NM)-build && \
+ if ! grep -q $(WD) .specstest ; then cd $(NM)-build && \
make -C ld install && \
SPECFILE=`dirname $$(gcc -print-libgcc-file-name)`/specs && \
gcc -dumpspecs > $$SPECFILE && \
@@ -99,7 +99,7 @@
re-adjust-toolchain:
echo 'main(){}' > dummy.c && cc dummy.c && \
readelf -l a.out > .specstest
- if cat .specstest | grep -q $(WD) ; then cd $(NM)-build && \
+ if grep -q $(WD) .specstest ; then cd $(NM)-build && \
make -C ld INSTALL=$(WD)/bin/install install && \
SPECFILE=`dirname $$(gcc -print-libgcc-file-name)`/specs && \
gcc -dumpspecs > $$SPECFILE && \
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page