apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/build buildcheck.sh
Date Sun, 15 Feb 2004 17:03:41 GMT
jorton      2004/02/15 09:03:41

  Modified:    build    buildcheck.sh
  Log:
  * build/buildcheck.sh: Determine Python version correctly for Python 1.x.
  
  Revision  Changes    Path
  1.12      +1 -1      apr/build/buildcheck.sh
  
  Index: buildcheck.sh
  ===================================================================
  RCS file: /home/cvs/apr/build/buildcheck.sh,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -b -d -u -r1.11 -r1.12
  --- buildcheck.sh	5 Feb 2004 14:19:16 -0000	1.11
  +++ buildcheck.sh	15 Feb 2004 17:03:41 -0000	1.12
  @@ -10,7 +10,7 @@
   echo "           to build APR from CVS."
   exit 1
   else
  -py_version=`python -V 2>&1|sed -e 's/^[^0-9]*//'`
  +py_version=`python -c 'import sys; print sys.version' 2>&1|sed 's/ .*//;q'`
   echo "buildconf: python version $py_version (ok)"
   fi
   
  
  
  

Mime
View raw message