From 50b55851532588f60de7e66819a0f174e594c197 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Wed, 11 Jan 2023 08:59:42 -0300 Subject: Removed unnecesary ignores in build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 5aa8658..2dc0e8b 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,5 @@ #!/bin/bash find ./ -type f -name '*.png' -not -path '*/.git/*' -exec sh -c 'cwebp -lossless $1 -o "${1%.png}.webp"' _ {} \; -find . -type f -not -path '*/.git/*' \( ! -iname ".gitignore" ! -iname "pre-commit" \) -exec sed -i -e 's/\.png/\.webp/g' {} \; +find . -type f -not -path '*/.git/*' -exec sed -i -e 's/\.png/\.webp/g' {} \; hugo -s . -d /var/www/yams.media/ -- cgit v1.2.3