[haiku-commits] r43035 - haiku/trunk/data/common/boot/post_install
- From: revol@xxxxxxx
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Mon, 31 Oct 2011 16:42:57 +0100 (CET)
Author: mmu_man
Date: 2011-10-31 16:42:56 +0100 (Mon, 31 Oct 2011)
New Revision: 43035
Changeset: https://dev.haiku-os.org/changeset/43035
Modified:
haiku/trunk/data/common/boot/post_install/mime_update.sh
Log:
Quote $f to avoid problems with space in file names...
Modified: haiku/trunk/data/common/boot/post_install/mime_update.sh
===================================================================
--- haiku/trunk/data/common/boot/post_install/mime_update.sh 2011-10-31
14:26:37 UTC (rev 43034)
+++ haiku/trunk/data/common/boot/post_install/mime_update.sh 2011-10-31
15:42:56 UTC (rev 43035)
@@ -15,8 +15,8 @@
for f in $(/bin/finddir B_DESKTOP_DIRECTORY 2>/dev/null\
|| echo "/boot/home/Desktop")/*; do
- if [ -f $f ]; then
- mimeset -f $f
+ if [ -f "$f" ]; then
+ mimeset -f "$f"
fi
done
Other related posts:
- » [haiku-commits] r43035 - haiku/trunk/data/common/boot/post_install - revol