[Xfce4-commits] r26524 - xfdesktop/trunk
Brian Tarricone
kelnos at xfce.org
Wed Jan 2 02:38:08 CET 2008
Author: kelnos
Date: 2008-01-02 01:38:08 +0000 (Wed, 02 Jan 2008)
New Revision: 26524
Modified:
xfdesktop/trunk/autogen.sh
Log:
use git-svn to get revision when appropriate
Modified: xfdesktop/trunk/autogen.sh
===================================================================
--- xfdesktop/trunk/autogen.sh 2008-01-02 01:38:00 UTC (rev 26523)
+++ xfdesktop/trunk/autogen.sh 2008-01-02 01:38:08 UTC (rev 26524)
@@ -29,7 +29,11 @@
# substitute revision and linguas
linguas=`sed -e '/^#/d' po/LINGUAS`
-revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'`
+if [ -d .git/svn ]; then
+ revision=`LC_ALL=C git-svn find-rev HEAD`
+else
+ revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'`
+fi
sed -e "s/@LINGUAS@/${linguas}/g" \
-e "s/@REVISION@/${revision}/g" \
< "configure.ac.in" > "configure.ac"
More information about the Xfce4-commits
mailing list