Skip to content

Commit

Permalink
Bug fix for sed regex when checking automake version contributed by T…
Browse files Browse the repository at this point in the history
…om Russo

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5734 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Aug 24, 2006
1 parent 373d555 commit 7caca85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogen.sh
Expand Up @@ -22,7 +22,7 @@ if [ "`uname`" = "Darwin" ]; then
fi

# Check automake version
AM_VERSION=`automake --version | sed -n -e 's#[^0-9]* \([0-9]*\)\.\([0-9]*\)*\.*\(\([0-9]*\)\).*$#\1 \2 \3#p'`
AM_VERSION=`automake --version | sed -n -e 's#[^0-9]* \([0-9]*\)\.\([0-9]*\)\.*\([0-9]*\).*$#\1 \2 \3#p'`
AM_V1=`echo $AM_VERSION | awk '{print $1}'`
AM_V2=`echo $AM_VERSION | awk '{print $2}'`
AM_V3=`echo $AM_VERSION | awk '{if ($NF > 2) print $3; else print "0";}'`
Expand Down

0 comments on commit 7caca85

Please sign in to comment.