From: Steve Hay Date: Tue, 2 Jan 2007 11:18:26 +0000 (+0000) Subject: Check miniperl exists before using it to run uupacktool.pl X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c52ab9a39ec1368602e437fee1313e341757bb0d;p=p5sagit%2Fp5-mst-13.2.git Check miniperl exists before using it to run uupacktool.pl during distclean p4raw-id: //depot/perl@29659 --- diff --git a/win32/Makefile b/win32/Makefile index 6b6c1d9..790cf3e 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -1220,7 +1220,7 @@ unpack_files: $(MINIPERL) -I..\lib ..\uupacktool.pl -u -d .. -m cleanup_unpacked_files: - $(MINIPERL) -I..\lib ..\uupacktool.pl -c -d .. -m + -if exist $(MINIPERL) $(MINIPERL) -I..\lib ..\uupacktool.pl -c -d .. -m test-reonly : reonly utils $(XCOPY) $(PERLEXE) ..\t\$(NULL) diff --git a/win32/makefile.mk b/win32/makefile.mk index dcbd4af..04bbced 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -1541,7 +1541,7 @@ unpack_files: $(MINIPERL) -I..\lib ..\uupacktool.pl -u -d .. -m cleanup_unpacked_files: - $(MINIPERL) -I..\lib ..\uupacktool.pl -c -d .. -m + -if exist $(MINIPERL) $(MINIPERL) -I..\lib ..\uupacktool.pl -c -d .. -m test-prep : all utils unpack_files $(XCOPY) $(PERLEXE) ..\t\$(NULL)