TOOLS/gen-x11-icon.sh: fix for recent ImageMagick

Apparently ImageMagick no longer appends a newline to the format. This
also sets the execute bit on the script.
This commit is contained in:
James Ross-Gowan 2015-11-04 20:54:44 +11:00 committed by wm4
parent 350d902799
commit a9833a71ce
1 changed files with 1 additions and 1 deletions

2
TOOLS/gen-x11-icon.sh Normal file → Executable file
View File

@ -5,7 +5,7 @@
conv() {
echo
identify -format "icon: %w %h" "$1"
echo `identify -format "icon: %w %h" "$1"`
convert "$1" -depth 8 rgba:-
}