mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Do not hardcode convert path but use which instead (bis)
This commit is contained in:
parent
d06c02273d
commit
a0fcdd90d1
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ fi
|
|||
|
||||
CONVERT=$(which convert)
|
||||
CONVERTFILTER="-sharpen 1x0.0 -filter Catrom"
|
||||
OPTIPNG=/opt/local/bin/optipng
|
||||
OPTIPNG=$(which optipng)
|
||||
CMDS="${CONVERT} ${OPTIPNG}"
|
||||
for i in $CMDS; do
|
||||
command -v $i > /dev/null && continue || { echo "$i command not found"; exit 1; }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue