diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-28 03:58:51 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-28 03:58:51 +0000 |
commit | f4510ac7170d49b40ecdc383f1f05c94a55802b8 (patch) | |
tree | 78694a8e7cd0d1df0e08ac3fbc17bbf240ec4f0c /trunk/lib/common.sh | |
parent | 7276662621bb79f86a349417fcf0cbdef3c38193 (diff) | |
download | simplepkg-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
Diffstat (limited to 'trunk/lib/common.sh')
-rw-r--r-- | trunk/lib/common.sh | 6 |
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 - } # ----------------------------------------------- |