From 6ab609b753f8acc74cd05048ab9c4f38b6c89fe7 Mon Sep 17 00:00:00 2001 From: endernon Date: Sun, 8 Dec 2024 20:34:24 +0000 Subject: [PATCH] tes --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 88b6aa7..393302d 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,6 @@ #!/bin/bash +# enable globbing properly +shopt -s extglob # create the build dir if it doesn't already exist mkdir -p ./build @@ -30,7 +32,7 @@ if [[ -e oxipng.tar.gz ]]; then mv ./oxipng* ./oxipngdir mv ./oxipngdir/oxipng ./oxipng chmod +x oxipng - oxipng -o max --strip all --alpha **/*.png + oxipng -o max --strip all --alpha $(find . -name "*.png" -type f) fi # remove all the gimp files (those don't do anything in the final build)