summaryrefslogtreecommitdiff
path: root/cygwin
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-11-30 14:21:40 +0000
committerSteve Peters <steve@fisharerojo.org>2006-11-30 14:21:40 +0000
commit1825a77ced10b37b12ef95486da9e62f3f6bd0ea (patch)
treef8f868cb12d02c42281a6b77a3300b23e7f27744 /cygwin
parent71ac54769aee87355e067f835ee5a5d6ba12b116 (diff)
downloadperl-1825a77ced10b37b12ef95486da9e62f3f6bd0ea.tar.gz
-Dprefix failed on Cygwin unless the directory ${installbin} already
existed prior to running make. p4raw-id: //depot/perl@29427
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/Makefile.SHs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cygwin/Makefile.SHs b/cygwin/Makefile.SHs
index 52168a9c19..dee49c006c 100644
--- a/cygwin/Makefile.SHs
+++ b/cygwin/Makefile.SHs
@@ -34,9 +34,10 @@ ld2: $& Makefile perlld ${src}/cygwin/ld2.in
@$sed s,@buildpath@,$addtopath,g <${src}/cygwin/ld2.in >ld2
@chmod a+x ld2
@echo "installing ld2 into $installbin"
-# install is included in Cygwin distributions, and we make a note of th
+# install is included in Cygwin distributions, and we make a note of the
# requirement in the README.cygwin file. However, let's give them
# a warning.
+ @test -d ${installbin} || mkdir -p ${installbin}
@/usr/bin/install -c -m 755 ld2 ${installbin}/ld2
@if test ! -f ${installbin}/ld2; then \
echo "*************************************************" ; \