Module: wine Branch: master Commit: e664379a06e3b8dcd4835c4b0d43bdbf9587f91f URL: http://source.winehq.org/git/wine.git/?a=commit;h=e664379a06e3b8dcd4835c4b0d...
Author: Vitaliy Margolen wine-patches@kievinfo.com Date: Sun Mar 23 14:16:30 2008 -0600
wineshelllink: Don't hard-code icon extension to xpm.
---
tools/wineshelllink | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/wineshelllink b/tools/wineshelllink index a58fb18..0c02bda 100755 --- a/tools/wineshelllink +++ b/tools/wineshelllink @@ -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