Commit e664379a authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

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

parent 690f496b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment