projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
936e257
)
Handle .desktop files with spaces in filename (rhbz#520920)
author
Jindrich Novy
<jnovy@redhat.com>
Thu, 3 Sep 2009 05:57:34 +0000
(07:57 +0200)
committer
Jindrich Novy
<jnovy@redhat.com>
Thu, 3 Sep 2009 05:57:34 +0000
(07:57 +0200)
- thanks to Edward Sheldrake
scripts/desktop-file.prov
patch
|
blob
|
history
diff --git
a/scripts/desktop-file.prov
b/scripts/desktop-file.prov
index
ead3c13
..
abb79f9
100755
(executable)
--- 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')'