aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 03:58:51 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 03:58:51 +0000
commitf4510ac7170d49b40ecdc383f1f05c94a55802b8 (patch)
tree78694a8e7cd0d1df0e08ac3fbc17bbf240ec4f0c
parent7276662621bb79f86a349417fcf0cbdef3c38193 (diff)
downloadsimplepkg-f4510ac7170d49b40ecdc383f1f05c94a55802b8.tar.gz
simplepkg-f4510ac7170d49b40ecdc383f1f05c94a55802b8.tar.bz2
fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@588 04377dda-e619-0410-9926-eae83683ac58
-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
-
}
# -----------------------------------------------