From f69a21f96c9acc6e315f2e1c0e8c0f3765a7cca9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 Oct 2011 16:25:17 +0000 Subject: avoid relying on deep .svn directories Going away in svn 1.7. Instead, use svn info to test if a directory is checked into svn. --- scripts/create_xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/create_xml b/scripts/create_xml index 7ed3ca1eb..656ca1444 100755 --- a/scripts/create_xml +++ b/scripts/create_xml @@ -20,7 +20,7 @@ else fi SOURCEDIR="$WORKDIR/en" # Don't overwrite XML translations committed to SVN -if [ -d "./$language/.svn" ] ; then +if svn info "./$language/" >/dev/null 2>&1; then TARGETDIR="./$language.new" else TARGETDIR="./$language" -- cgit v1.2.3