]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 28 Nov 2008 15:11:39 +0000 (15:11 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 28 Nov 2008 15:11:39 +0000 (15:11 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@600 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh

index 8f7846852510b101c1b8332a6252fd9829950ac2..83eec65e07886faca336af0a599f10f7963e56d5 100644 (file)
@@ -669,7 +669,7 @@ function svn_remove_empty_folders {
   fi
 
   for folder in `find $1 -type d -print | grep -v "/\.svn" | sort -r`; do
-    if [ "`ls -A -1 $folder | grep -v .svn | wc -l`" -eq "0" ]; then
+    if [ "`ls -A -1 $folder | grep -v -e '^\.svn' | wc -l`" -eq "0" ]; then
       svn_del $folder
     fi
   done