[maemo-commits] [maemo-commits] r19577 - projects/haf/tags/osso-app-killer/1.33-2/src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Dec 15 16:34:20 EET 2009
Author: dkedves
Date: 2009-12-15 16:34:17 +0200 (Tue, 15 Dec 2009)
New Revision: 19577

Modified:
   projects/haf/tags/osso-app-killer/1.33-2/src/osso-clean-mmc.sh
Log:
Fix for tag too

Modified: projects/haf/tags/osso-app-killer/1.33-2/src/osso-clean-mmc.sh
===================================================================
--- projects/haf/tags/osso-app-killer/1.33-2/src/osso-clean-mmc.sh	2009-12-15 14:33:08 UTC (rev 19576)
+++ projects/haf/tags/osso-app-killer/1.33-2/src/osso-clean-mmc.sh	2009-12-15 14:34:17 UTC (rev 19577)
@@ -14,7 +14,11 @@
 DONT=${DONT}'(\./Mac OS)|(\./\._)|(\.VolumeIcon\.icns)|(\./\.sounds/Ringtones)'
 
 for rmable in $(find ./ | sort -r | egrep -v "${DONT}"); do
-  rm -f "$rmable"
+  if test -d "${rmable}"; then
+    rmdir "${rmable}"
+  else
+    rm -f "${rmable}"
+  fi
 done
 
 cd ${HOME}

More information about the maemo-commits mailing list