http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
690f496
)
wineshelllink: Don't hard-code icon extension to xpm.
author
Vitaliy Margolen
<wine-patches@kievinfo.com>
Sun, 23 Mar 2008 20:16:30 +0000
(14:16 -0600)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 24 Mar 2008 12:39:16 +0000
(13:39 +0100)
tools/wineshelllink
patch
|
blob
|
blame
|
history
diff --git
a/tools/wineshelllink
b/tools/wineshelllink
index a58fb18b8f551c57f3f571b302e343f28c71296e..0c02bda419b926274a5dc2c4a5ecb962e8608ad5 100755
(executable)
--- 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