aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib/common.sh
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 04:03:30 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 04:03:30 +0000
commit82516d6ebe9ddce4e51fb5c056682d65e249e7f7 (patch)
treef09c48d052c7c53a6416eecd22ab9d14ed7b0c85 /trunk/lib/common.sh
parentf4510ac7170d49b40ecdc383f1f05c94a55802b8 (diff)
downloadsimplepkg-82516d6ebe9ddce4e51fb5c056682d65e249e7f7.tar.gz
simplepkg-82516d6ebe9ddce4e51fb5c056682d65e249e7f7.tar.bz2
fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@589 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/lib/common.sh')
-rw-r--r--trunk/lib/common.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 39c6fcd..e755bd1 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -689,7 +689,10 @@ function svn_remove_empty_folders {
fi
else
for folder in $search; do
- svn_remove_empty_folders $folder
+ # can be deleted already
+ if [ -d "$folder" ]; then
+ svn_remove_empty_folders $folder
+ fi
done
fi