wineshelllink: Fix menu entries with double spaces in their names.

This commit is contained in:
Vitaliy Margolen 2007-02-24 20:34:21 -07:00 committed by Alexandre Julliard
parent 3ab449c96a
commit 5f960781fc

View file

@ -153,8 +153,8 @@ BEGIN { RS="<" }
# new item
write_menu_file()
{
menu=`echo $1 | sed 's!/!-!g'`
filename=`echo $2 | sed 's!/!-!g'`
menu=`echo "$1" | sed 's!/!-!g'`
filename=`echo "$2" | sed 's!/!-!g'`
tmpfile=`mktemp /tmp/wine.XXXXXX`
(