aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/lib')
-rw-r--r--trunk/lib/common.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 14b4646..39c6fcd 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -685,7 +685,7 @@ function svn_remove_empty_folders {
if [ "$results" -eq "0" ]; then
if [ "`find $main_folder -not -type d | wc -l`" -eq "0" ]; then
- svn_del $folder
+ svn_del $main_folder
fi
else
for folder in $search; do
@@ -693,10 +693,6 @@ function svn_remove_empty_folders {
done
fi
- if [ "`find $main_folder -not -type d | wc -l`" -eq "0" ]; then
- svn_del $folder
- fi
-
}
# -----------------------------------------------