summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-05 23:36:03 +0000
committerivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-05 23:36:03 +0000
commit9495e9701b018ffa7da45c65d8eac5d94e90771a (patch)
tree63bfd329795f4cdd64f4c8a508d9f350d82c26fe /TOOLS
parent7aca017750b385000644dd363819501ec201a7d8 (diff)
downloadmpv-9495e9701b018ffa7da45c65d8eac5d94e90771a.tar.bz2
mpv-9495e9701b018ffa7da45c65d8eac5d94e90771a.tar.xz
test for presence of .svn directory if we are supposed to traverse the tree
according to svn info .svn might be missing (i.e. after svn export) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25309 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/checktree.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/TOOLS/checktree.sh b/TOOLS/checktree.sh
index 6eb0d65ac5..0ab29ccd3b 100755
--- a/TOOLS/checktree.sh
+++ b/TOOLS/checktree.sh
@@ -168,6 +168,13 @@ else
COLE=""
fi
+# Test presence of svn info
+
+if [ "$_svn" = "yes" -a ! -d .svn ] ; then
+ echo "No svn info available. Please use -nosvn." >&2
+ exit 1
+fi
+
# Generate filelist once so -svn isn't _that_ much slower than -nosvn anymore
filelist=`all_filenames`