summaryrefslogtreecommitdiff
path: root/cygwin
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-23 09:08:30 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-23 09:08:30 +0000
commitb82baff62ab7f5eb277b53f2a625c8a41392dbdf (patch)
treea9db019f9ae572a505218b98c42de8edf8c40689 /cygwin
parent117c97cc8bc4f8d1e649a798c680208c2e87c6d9 (diff)
downloadperl-b82baff62ab7f5eb277b53f2a625c8a41392dbdf.tar.gz
cygwin update (from Eric Fifer <EFifer@sanwaint.com>)
p4raw-id: //depot/perl@4853
Diffstat (limited to 'cygwin')
-rw-r--r--cygwin/Makefile.SHs7
1 files changed, 2 insertions, 5 deletions
diff --git a/cygwin/Makefile.SHs b/cygwin/Makefile.SHs
index d466bdea52..8d777788ba 100644
--- a/cygwin/Makefile.SHs
+++ b/cygwin/Makefile.SHs
@@ -33,12 +33,9 @@ ld2: $& Makefile perlld ${src}/cygwin/ld2.in
# install is included in Cygwin distributions, and we make a note of th
# requirement in the README.cygwin file. However, let's give them
# a warning.
- @if test -n "`type $1 2>&1 | sed -n -e '/'$1'$/p'`" ; then \
- install -c -m 755 ld2 ${installbin}/ld2 ; \
- else \
+ @install -c -m 755 ld2 ${installbin}/ld2
+ @if test ! -f ${installbin}/ld2; then \
echo "*************************************************" ; \
- echo "Oh, no! You didn't read the README.cygwin" ; \
- echo "file, which stated that \"install\" was required." ; \
echo "Make will probably fail in a few more steps." ; \
echo "When it does, copy \"ld2\" to a directory in" ; \
echo "your path, other than \".\"." ; \