svn revision 00000 to exported (no need for backport)
git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68141 15284696-431f-4ddb-bdfa-cd5b030d7da7py3
parent
be501a7e4a
commit
b1abd79186
|
@ -126,12 +126,14 @@ changequote(,)
|
|||
LIB_VER=`echo ${GRASS_VERSION_NUMBER} | sed 's/^\([0-9.]*\).*$/\1/'`
|
||||
changequote([,])
|
||||
|
||||
GRASS_VERSION_SVN=00000
|
||||
GRASS_VERSION_SVN="exported"
|
||||
AC_PATH_PROG(SVN_VERSION, svnversion, no)
|
||||
if test "$SVN_VERSION" != "no" ; then
|
||||
GRASS_VERSION_SVN=`$SVN_VERSION -c | cut -f2 -d:`
|
||||
if test "$GRASS_VERSION_SVN" = "exported" -o "$GRASS_VERSION_SVN" = "Unversioned directory" ; then
|
||||
GRASS_VERSION_SVN=00000
|
||||
GRASS_VERSION_SVN="exported"
|
||||
else
|
||||
GRASS_VERSION_SVN="r$GRASS_VERSION_SVN"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ $(ETC)/winlocale$(EXE): $(OBJDIR)/winlocale.o
|
|||
$(ETC)/VERSIONNUMBER:
|
||||
rm -f $@
|
||||
@if [ -n "$(GRASS_VERSION_SVN)" ] ; then \
|
||||
echo "$(GRASS_VERSION_NUMBER) r$(GRASS_VERSION_SVN)" > $@ ; \
|
||||
echo "$(GRASS_VERSION_NUMBER) $(GRASS_VERSION_SVN)" > $@ ; \
|
||||
else \
|
||||
echo "$(GRASS_VERSION_NUMBER)" > $@ ; \
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue