kopia lustrzana https://github.com/FreeSpacenav/spacenavd
replaced the svn $rev$ substitution with git describe falling back to git rev-parse HEAD
rodzic
e34c70fecd
commit
04574d0ed0
4
README
4
README
|
@ -1,5 +1,5 @@
|
|||
spacenavd - $Rev$
|
||||
---------------
|
||||
spacenavd
|
||||
---------
|
||||
|
||||
1. About
|
||||
Spacenavd, is a free software replacement user-space driver (daemon), for
|
||||
|
|
|
@ -40,10 +40,10 @@ DBG=yes
|
|||
X11=yes
|
||||
HOTPLUG=yes
|
||||
XINPUT=yes
|
||||
VER=`head -1 README | sed 's/^.*- //'`
|
||||
VER=`git describe --tags 2>/dev/null`
|
||||
|
||||
if echo $VER | grep '$Rev' >/dev/null; then
|
||||
VER=svn-r`echo $VER | awk '{print $2}' | sed 's/$//g'`
|
||||
if [ -z "$VER" ]; then
|
||||
VER=`git rev-parse --short HEAD`
|
||||
fi
|
||||
|
||||
echo "configuring spacenavd - $VER"
|
||||
|
|
Ładowanie…
Reference in New Issue