repo.or.cz
/
GPXSee.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added LOC icons generation
[GPXSee.git]
/
icons
/
scripts
/
ico.sh
blob
13883904465d13f6c62c274364a9713d65e2ef02
1
#!/bin/bash
2
3
while
read
e
;
do
4
IFS
=
":"
;
set
$e
5
6
EXT
=
`echo
$1
| tr /a-z/ /A-Z/`
7
sed
-e
"s/\
$EXTENSION
/
$EXT
/"
-e
"s/\
$COLOR
/
$2
/"
icon-template.svg
>
$1
.svg
8
convert
-density
400
$1
.svg
-define
icon
:
auto-resize
$1
.ico
9
rm
$1
.svg
10
done
<
extensions