Browse Source

* autogen.sh: Don't print errors when trying to detect the revision

of a git svn repository.


(Old svn revision: 27617)
upstream/xfce4-panel-4.10.1
Jannis Pohlmann 14 years ago
parent
commit
d7accfcadc
  1. 5
      ChangeLog
  2. 8
      autogen.sh

5
ChangeLog

@ -1,3 +1,8 @@
2008-08-31 00:04 jannis
* autogen.sh: Don't print errors when trying to detect the revision
of a git svn repository.
2008-08-25 06:20 kelnos
* Include panel settings in new settings manager dialog

8
autogen.sh

@ -30,10 +30,10 @@ EOF
# substitute revision and linguas
linguas=`sed -e '/^#/d' po/LINGUAS`
if test -d .git/svn; then
revision=`git svn find-rev trunk ||
git svn find-rev origin/trunk ||
git svn find-rev HEAD ||
git svn find-rev master`
revision=`git svn find-rev trunk 2>/dev/null ||
git svn find-rev origin/trunk 2>/dev/null ||
git svn find-rev HEAD 2>/dev/null ||
git svn find-rev master 2>/dev/null`
else
revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n",
$2}'`

Loading…
Cancel
Save