Merge "pngcrush: don't print out an error on mv if optimizing fails" into jellybean

gugelfrei
Steve Kondik 12 years ago committed by Gerrit Code Review
commit 2f477d6530

@ -45,7 +45,7 @@ if [ "$(which pngcrush)" != "" ];
then then
optimize_png () { optimize_png () {
pngcrush -q ${BRUTECRUSH} $1 ${1}.out 1> /dev/null 2> /dev/null pngcrush -q ${BRUTECRUSH} $1 ${1}.out 1> /dev/null 2> /dev/null
mv ${1}.out ${1} mv ${1}.out ${1} 2> /dev/null
} }
elif [ "$(which optipng)" != "" ]; elif [ "$(which optipng)" != "" ];
then then

Loading…
Cancel
Save