mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 00:29:21 +00:00
Do not hardcode convert path but use which instead
This commit is contained in:
parent
4f5ef86508
commit
d06c02273d
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ if [ "$CONFIGURATION" == "Debug" ]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
CONVERT=/opt/local/bin/convert
|
||||
CONVERT=$(which convert)
|
||||
CONVERTFILTER="-sharpen 1x0.0 -filter Catrom"
|
||||
OPTIPNG=/opt/local/bin/optipng
|
||||
CMDS="${CONVERT} ${OPTIPNG}"
|
||||
|
|
@ -78,4 +78,4 @@ for PNG in $PNGS; do
|
|||
done
|
||||
|
||||
# make sure we dont over-optimize
|
||||
touch $DIR/optimized
|
||||
touch $DIR/optimized
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue