summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2007-01-02 11:18:26 +0000
committerSteve Hay <SteveHay@planit.com>2007-01-02 11:18:26 +0000
commitc52ab9a39ec1368602e437fee1313e341757bb0d (patch)
tree22e67e89acb36b6c2c7ba9f200924c3abb3fa164 /win32
parent226765602a8edd5758c2b721af4759c86df3afc1 (diff)
downloadperl-c52ab9a39ec1368602e437fee1313e341757bb0d.tar.gz
Check miniperl exists before using it to run uupacktool.pl
during distclean p4raw-id: //depot/perl@29659
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile2
-rw-r--r--win32/makefile.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/win32/Makefile b/win32/Makefile
index 6b6c1d902b..790cf3eabe 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 dcbd4aff3b..04bbced02b 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)