Quote $f to avoid problems with space in file names...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43035 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2011-10-31 15:42:56 +00:00
parent 14ac1ee962
commit 62d998858f

View File

@ -15,8 +15,8 @@ _progress 0.0 "desktop files"
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