Author: kelnos Date: 2008-04-15 08:55:39 +0000 (Tue, 15 Apr 2008) New Revision: 26844
Modified: xfconf/trunk/autogen.sh Log: get svn revision from git-svn in a smarter way Modified: xfconf/trunk/autogen.sh =================================================================== --- xfconf/trunk/autogen.sh 2008-04-15 08:24:38 UTC (rev 26843) +++ xfconf/trunk/autogen.sh 2008-04-15 08:55:39 UTC (rev 26844) @@ -35,7 +35,7 @@ # substitute revision and linguas linguas=$(sed -e '/^#/d' po/LINGUAS) if [ -d .git/svn ]; then - revision=$(git-svn log | head -n 2 | tail -n 1 | cut -d' ' -f1 | cut -dr -f2) + revision=$(git-svn find-rev trunk) elif [ -d .svn ]; then revision=$(LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}') else _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits