From 9495e9701b018ffa7da45c65d8eac5d94e90771a Mon Sep 17 00:00:00 2001 From: ivo Date: Wed, 5 Dec 2007 23:36:03 +0000 Subject: 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 --- TOOLS/checktree.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'TOOLS') 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` -- cgit v1.2.3