mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add bzr support to gnc-svnversion. Patch by Jesse Weinstein
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18692 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -54,7 +54,18 @@ then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test $OSTYPE == "msys"
|
if test -d "${real_srcdir}"/.bzr ;
|
||||||
|
then
|
||||||
|
bzrhead=`bzr version-info "${real_srcdir}"`
|
||||||
|
if test $? = 0 ; then
|
||||||
|
echo "$bzrhead" | awk -F ':' '/revision-id/{print $5}'
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $OSTYPE -a $OSTYPE = "msys";
|
||||||
then
|
then
|
||||||
svk_name="svk.bat"
|
svk_name="svk.bat"
|
||||||
svk_cmd="cmd \/c svk"
|
svk_cmd="cmd \/c svk"
|
||||||
|
|||||||
Reference in New Issue
Block a user