summaryrefslogtreecommitdiff
path: root/scripts/create_xml
diff options
context:
space:
mode:
authorJoey Hess <joeyh@debian.org>2011-10-12 16:25:17 +0000
committerJoey Hess <joeyh@debian.org>2011-10-12 16:25:17 +0000
commitf69a21f96c9acc6e315f2e1c0e8c0f3765a7cca9 (patch)
treeafb21bbcba55e14e4dc4c70526e93a68d10d2bea /scripts/create_xml
parent1218a483dce14b1aec81927146b90e8a0c502df9 (diff)
downloadinstallation-guide-f69a21f96c9acc6e315f2e1c0e8c0f3765a7cca9.zip
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.
Diffstat (limited to 'scripts/create_xml')
-rwxr-xr-xscripts/create_xml2
1 files changed, 1 insertions, 1 deletions
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"