From 0eeb1d18fc1ee1bc8c311227c9f04b9e71946f7f Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 28 Dec 2011 21:27:16 +0000 Subject: [PATCH] Fix getting the revision from git with BSD sed Originally committed to SVN as r6182. --- aegisub/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/configure.in b/aegisub/configure.in index afafce0fa..9213ef108 100644 --- a/aegisub/configure.in +++ b/aegisub/configure.in @@ -162,7 +162,7 @@ AS_IF([test -d "$srcdir/.svn"], [ SVN_REVISION=`cat $srcdir/svn_revision` AC_MSG_RESULT([$SVN_REVISION from "$srcdir/svn_revision"]) ], [test -d "$srcdir/../.git"], [ - SVN_REVISION=[`git log | grep git-svn-id -m 1 | sed 's/.*@\([0-9]\+\) .*/\1/'`] + SVN_REVISION=[`git log | grep git-svn-id -m 1 | sed -E 's/.*@([0-9]+) .*/\1/'`] AC_MSG_RESULT([$SVN_REVISION from git]) ], [ AC_MSG_RESULT([not found])