aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/lib/common.sh')
-rw-r--r--trunk/lib/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 8f78468..83eec65 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -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