1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00

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

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:-
}