mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:36:24 +01:00
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
This commit is contained in:
parent
7aca017750
commit
9495e9701b
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user