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

Unified Diff: third_party/xdg-utils/scripts/xdg-desktop-menu.in

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-desktop-menu ('k') | third_party/xdg-utils/scripts/xdg-email » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/xdg-utils/scripts/xdg-desktop-menu.in
===================================================================
--- third_party/xdg-utils/scripts/xdg-desktop-menu.in (revision 21489)
+++ third_party/xdg-utils/scripts/xdg-desktop-menu.in (working copy)
@@ -250,7 +250,7 @@
new_desktop_files=
if [ $action = "install" ] ; then
for desktop_file in $desktop_files; do
- basefile=`basename $desktop_file`
+ basefile=`basename "$desktop_file"`
if ! grep '^'$basefile'$' $tmpfile > /dev/null 2> /dev/null ; then
# Append
echo "$basefile" >> $tmpfile
@@ -288,7 +288,7 @@
echo ' <Name>Applications</Name>'
for desktop_file in $directory_files; do
- basefile=`basename $desktop_file`
+ basefile=`basename "$desktop_file"`
basefilename=`echo "$basefile"|cut -d '.' -f 1`
echo "<Menu>"
echo " <Name>$basefilename</Name>"
@@ -477,7 +477,7 @@
check_vendor_prefix "$desktop_file"
fi
- basefilename=`basename "$desktop_file"|cut -d '.' -f 1`
+ basefilename=`basename "$desktop_file" | cut -d '.' -f 1`
if [ -z "$menu_name" ] ; then
menu_name="$basefilename"
else
@@ -540,7 +540,7 @@
fi
for desktop_file in $directory_files; do
- basefile=`basename $desktop_file`
+ basefile=`basename "$desktop_file"`
DEBUG 1 "$action $desktop_file in $xdg_dir $kde_dir $gnome_dir"
@@ -622,7 +622,7 @@
check_vendor_prefix "$desktop_file"
fi
- basefile=`basename $desktop_file`
+ basefile=`basename "$desktop_file"`
DEBUG 1 "$action $desktop_file in $xdg_dir $kde_dir $gnome_dir"
« no previous file with comments | « third_party/xdg-utils/scripts/xdg-desktop-menu ('k') | third_party/xdg-utils/scripts/xdg-email » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698