From: Jeff Trawick Date: Thu, 13 Jun 2002 18:46:28 +0000 (+0000) Subject: Fix install-bindist.sh so that it finds any perl instead of just X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2c811c0882d4a2bd6340966b075743a74aeca25;p=apache Fix install-bindist.sh so that it finds any perl instead of just early perl 5.x versions. This is consistent with a build/install from source, and it allows the perl scripts installed by a bindist to work on systems with perl 5.6. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95651 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 4e2c001e16..e9f1bf7720 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,10 @@ Changes with Apache 2.0.38 + *) Fix install-bindist.sh so that it finds any perl instead of just + early perl 5.x versions. This is consistent with a build/install + from source, and it allows the perl scripts installed by a bindist + to work on systems with perl 5.6. [Jeff Trawick] + *) Fix apxs so that the makefile created by "apxs -g" works on AIX and Tru64 (and probably some other platforms). [Jeff Trawick] diff --git a/build/install-bindist.sh.in b/build/install-bindist.sh.in index d3693ee6c4..314be2d4d5 100755 --- a/build/install-bindist.sh.in +++ b/build/install-bindist.sh.in @@ -54,7 +54,7 @@ path=`echo $PATH | sed -e 's/:/ /g'` for dir in ${path} ; do for pperl in ${perls} ; do if test -f "${dir}/${pperl}" ; then - if `${dir}/${pperl} -v | grep 'version 5\.' >/dev/null 2>&1` ; then + if `${dir}/${pperl} -v >/dev/null 2>&1` ; then PERL="${dir}/${pperl}" break fi