Fix example posthook

This commit is contained in:
James Mills 2023-03-30 22:52:44 +10:00
parent 5b116b3f07
commit 71e45638de
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

View File

@ -9,8 +9,6 @@ minify_assets() {
find "$p" -type f -name "*.$t" | while read -r file; do find "$p" -type f -name "*.$t" | while read -r file; do
name="${file#"$p"}" name="${file#"$p"}"
name="${name#"/"}" name="${name#"/"}"
#name="${name%.*}"
#minify -o "${p}/${name}.min.$t" "$file"
minify -o "${p}/${name}" "$file" minify -o "${p}/${name}" "$file"
done done
} }