aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 13:24:32 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 13:24:32 +0000
commit23f0d436a23a6da6d1179bb7c5ff94425b215a91 (patch)
tree04f82742abf4e3c1a8e7a2e886a2cd34c58a223c /trunk
parent2b75cd768839af9ea5a7ffa4280cdea329981ea1 (diff)
downloadsimplepkg-23f0d436a23a6da6d1179bb7c5ff94425b215a91.tar.gz
simplepkg-23f0d436a23a6da6d1179bb7c5ff94425b215a91.tar.bz2
testing svn_remove_empty_folders
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@593 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-rw-r--r--trunk/lib/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 0d8738e..c5fd2e7 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -677,7 +677,7 @@ function svn_remove_empty_folders {
return 1
fi
- for folder in `find $1 -type d -print | grep -v "/\.svn"`; do
+ for folder in `find $1 -type d -print | grep -v "/\.svn" | sort -r`; do
if [ "`ls -A -1 $folder | grep -v .svn | wc -l`" -eq "0" ]; then
svn_del $folder
fi