diff --git a/build.sh b/build.sh index 393302d..732d3b7 100755 --- a/build.sh +++ b/build.sh @@ -33,6 +33,10 @@ if [[ -e oxipng.tar.gz ]]; then mv ./oxipngdir/oxipng ./oxipng chmod +x oxipng oxipng -o max --strip all --alpha $(find . -name "*.png" -type f) + + # clean up the oxipng before build + rm -rf oxipng + rm -rf oxipngdir fi # remove all the gimp files (those don't do anything in the final build)