Skip to content
Snippets Groups Projects
Commit d78156c7 authored by Taco Hoekwater's avatar Taco Hoekwater
Browse files

add an existence test for the .svn directory

parent eb011a90
Branches
Tags
No related merge requests found
......@@ -10,7 +10,7 @@ fi
FILE="source/texk/web2c/luatexdir/luatex_svnversion.h"
LANG=C
if [[ -x `which svnversion` ]]
if [[ -x `which svnversion` && -d ./.svn ]]
then
svn up > /dev/null
svnversion | sed -ne "s/^\([0-9]*\).*$/\#define luatex_svn_revision \1/p" > $FILE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment