diff options
author | Jindrich Novy <jnovy@redhat.com> | 2009-09-03 07:57:34 +0200 |
---|---|---|
committer | Jindrich Novy <jnovy@redhat.com> | 2009-09-03 07:57:34 +0200 |
commit | eabfd39c3b2fa3813d30bd9f1ba716c1fc88854f (patch) | |
tree | e3f3d0045d27a89accea651e7a71723057a0a229 /scripts | |
parent | 936e2570195d076ba36aa2bb93f04f395033945d (diff) | |
download | rpm-eabfd39c3b2fa3813d30bd9f1ba716c1fc88854f.tar.gz rpm-eabfd39c3b2fa3813d30bd9f1ba716c1fc88854f.tar.bz2 rpm-eabfd39c3b2fa3813d30bd9f1ba716c1fc88854f.zip |
Handle .desktop files with spaces in filename (rhbz#520920)
- thanks to Edward Sheldrake
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/desktop-file.prov | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/desktop-file.prov b/scripts/desktop-file.prov index ead3c135b..abb79f990 100755 --- a/scripts/desktop-file.prov +++ b/scripts/desktop-file.prov @@ -9,7 +9,7 @@ OLD_IFS="$IFS" while read instfile ; do case "$instfile" in *.desktop) - mime=`cat $instfile | grep MimeType= | cut -d'=' -f2` + mime=`cat "$instfile" | grep MimeType= | cut -d'=' -f2` IFS=';' for type in $mime ; do echo 'mimehandler('$type')' |