]> git.sesse.net Git - vlc/commitdiff
* toolbox:
authorSam Hocevar <sam@videolan.org>
Fri, 5 Mar 2004 16:45:32 +0000 (16:45 +0000)
committerSam Hocevar <sam@videolan.org>
Fri, 5 Mar 2004 16:45:32 +0000 (16:45 +0000)
    + Do not remove svn directories in autotools/ when using --distclean.

toolbox

diff --git a/toolbox b/toolbox
index bdfbdaa9a2e1e04b20570e9e1cd5a6fe12663657..3b4afae32b25e27bae97e2c112e9bd7d4fd60d24 100755 (executable)
--- a/toolbox
+++ b/toolbox
@@ -590,7 +590,7 @@ then
   test -f vlc.spec.mdk -a -f debian/rules || exit 1
   # let's rock!
   find . -type f '(' -name '*.[oa]' -o -name '*.so' -o -name '*.sl' -o -name '*.dylib' -o -name '*.dll' -o -name .dirstamp -o -name Makefile.in -o -name 'stamp-h*' -o -name '*~' -o -name '*.bak' -o -name '*.moc.cpp' ')' -exec rm -f '{}' ';'
-  (cd autotools && find . -name '[a-z]*' -exec rm -f '{}' ';')
+  (cd autotools && find . -name '[a-z]*' -maxdepth 1 -exec rm -f '{}' ';')
   (cd debian && find . -type d -name '[a-z]*' -maxdepth 1 -exec rm -Rf '{}' ';')
   find msvc -type f -name '*.dsp' -exec rm -f '{}' ';'
   find evc -type f -name '*.vcp' -exec rm -f '{}' ';'