aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
Diffstat (limited to 'trunk')
-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