[Commits] (john) cygwin tar -c is broken because of text vs. binary file confusion. modified Makefile to not use -c

commits at osafoundation.org commits at osafoundation.org
Fri Apr 23 15:29:27 PDT 2004


Commit by: john
Modified files:
external/Makefile 1.19 1.20

Log message:
cygwin tar -c is broken because of text vs. binary file confusion. modified Makefile to not use -c


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/external/Makefile.diff?r1=text&tr1=1.19&r2=text&tr2=1.20

Index: external/Makefile
diff -u external/Makefile:1.19 external/Makefile:1.20
--- external/Makefile:1.19	Fri Apr 23 14:27:28 2004
+++ external/Makefile	Fri Apr 23 15:28:56 2004
@@ -57,8 +57,9 @@
 	@for system in $(SYSTEMS); \
 	do \
 	    echo appending $$system; \
-	    gunzip -c $$system/$(SNAP).tar.gz > _tmp.tar; \
-            tar -Af $(SNAP)-$(VERSION).tar _tmp.tar; \
+	    cp $$system/$(SNAP).tar.gz _tmp.tar.gz; \
+	    gunzip -f _tmp.tar.gz; \
+        tar -Af $(SNAP)-$(VERSION).tar _tmp.tar; \
 	    rm _tmp.tar; \
 	done
 	gzip $(SNAP)-$(VERSION).tar



More information about the Commits mailing list