Commit f2c811c0 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent 48f41699
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
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]
+1 −1
Original line number Diff line number Diff line
@@ -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