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

This commit is contained in:
Steve Kondik
2012-08-27 07:39:42 +04:00
committed by Gerrit Code Review

View File

@@ -45,7 +45,7 @@ if [ "$(which pngcrush)" != "" ];
then
optimize_png () {
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)" != "" ];
then