Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: third_party/xdg-utils/scripts/xdg-icon-resource

Issue 159433: Bring xdg-utils up to date as of 2009-07-27. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/xdg-utils/scripts/xdg-email.in ('k') | third_party/xdg-utils/scripts/xdg-icon-resource.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/xdg-utils/scripts/xdg-icon-resource
===================================================================
--- third_party/xdg-utils/scripts/xdg-icon-resource (revision 21489)
+++ third_party/xdg-utils/scripts/xdg-icon-resource (working copy)
@@ -771,7 +771,7 @@
[ $context = "mimetypes" ] && need_gnome_mime=true
# End GNOME legacy workaround section
-[ -n "$icon_name" ] || icon_name=`basename $icon_file | sed 's/\.[a-z][a-z][a-z]$//'`
+[ -n "$icon_name" ] || icon_name=`basename "$icon_file" | sed 's/\.[a-z][a-z][a-z]$//'`
if [ "$vendor" = "true" -a "$action" = "install" -a "$context" = "apps" ] ; then
check_vendor_prefix "$icon_name" "icon name"
« no previous file with comments | « third_party/xdg-utils/scripts/xdg-email.in ('k') | third_party/xdg-utils/scripts/xdg-icon-resource.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698