wineshelllink: Don't hard-code icon extension to xpm.

This commit is contained in:
Vitaliy Margolen 2008-03-23 14:16:30 -06:00 committed by Alexandre Julliard
parent 690f496bd4
commit e664379a06
1 changed files with 3 additions and 2 deletions

View File

@ -116,10 +116,11 @@ copy_icon()
{
if [ -f "$icon" ]
then
xpmicon=`basename "$icon" .xpm`
xpmicon=`basename "$icon"`
xpmicon=${xpmicon%.*}
mkdir -p "$1"
cp "$icon" "$1/$xpmicon.xpm"
cp "$icon" "$1"
else
xpmicon=""
fi