/[gentoo-alt]/trunk/toolchain-prefix-wrapper/bootstrap
Gentoo

Diff of /trunk/toolchain-prefix-wrapper/bootstrap

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1717 Revision 1718
20svnurl='$HeadURL$' 20svnurl='$HeadURL$'
21 21
22mainversion=`grep 'AC_INIT(toolchain-prefix-wrapper,[0-9\.]*svnversion)' configure.ac | sed -e 's/.*([^,]*,\([^),]*\)\.svnversion\>.*)/\1/'` 22mainversion=`grep 'AC_INIT(toolchain-prefix-wrapper,[0-9\.]*svnversion)' configure.ac | sed -e 's/.*([^,]*,\([^),]*\)\.svnversion\>.*)/\1/'`
23if [ "x${mainversion}" != x ]; then 23if [ "x${mainversion}" != x ]; then
24 # configure.ac indicates to define the package-version automagically 24 # configure.ac indicates to define the package-version automagically
25 if [ "x${versioning_done}" != xyes ] && [ -d .svn ] ; then 25 if [ "x${versioning_done}" != xyes ] && svn info >& /dev/null ; then
26 svnversion=`svn --version 2>/dev/null | head -n 1` 26 svnversion=`svn --version 2>/dev/null | head -n 1`
27 case ${svnversion} in 27 case ${svnversion} in
28 *" version 1."[6-7]"."*) revisionrange="20-27" ;; 28 *" version 1."[6-7]"."*) revisionrange="20-27" ;;
29 *" version 1."[0-5]"."*) revisionrange="19-26" ;; 29 *" version 1."[0-5]"."*) revisionrange="19-26" ;;
30 *) echo "don't know how to work with ${svnversion}" >&2; exit 1 ;; 30 *) echo "don't know how to work with ${svnversion}" >&2; exit 1 ;;

Legend:
Removed from v.1717  
changed lines
  Added in v.1718

  ViewVC Help
Powered by ViewVC 1.1.20