diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/getluatexsvnversion.sh')
-rwxr-xr-x | Build/source/texk/web2c/luatexdir/getluatexsvnversion.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/getluatexsvnversion.sh b/Build/source/texk/web2c/luatexdir/getluatexsvnversion.sh index a59bc81db56..519d7df8240 100755 --- a/Build/source/texk/web2c/luatexdir/getluatexsvnversion.sh +++ b/Build/source/texk/web2c/luatexdir/getluatexsvnversion.sh @@ -17,7 +17,7 @@ then DEFREV=`cat $FILE` SVNREV=`svnversion -c . | sed -ne 's/^[0-9]*:*\([0-9]*\).*/#define luatex_svn_revision \1/p'` test "$DEFREV" != "$SVNREV" && echo "$SVNREV" > $FILE -elif ( [ -f ../.git/refs/remotes/git-svn ] && git svn --version > /dev/null ) +elif ( [ -f ../.git/refs/remotes/git-svn ] || [ -d ../.git/svn ] && git svn --version > /dev/null ) then DEFREV=`cat $FILE` SVNREV=`git svn info | sed -ne 's/^Revision: \([0-9]*\).*$/#define luatex_svn_revision \1/p'` |