From b6ec223f34eca29614d9c755cef2a261f61de94e Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Wed, 14 Sep 2022 19:40:50 +0200 Subject: [PATCH] [SCRIPTS] Fix a missing / --- .scripts/generate_tumbnails.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/generate_tumbnails.sh b/.scripts/generate_tumbnails.sh index f74758d..389116b 100755 --- a/.scripts/generate_tumbnails.sh +++ b/.scripts/generate_tumbnails.sh @@ -55,7 +55,7 @@ thumbnail(){ # Ce con de pngcrush a tendance à faire n'importe quoi si on lui dit de réécrire par dessus les images, du coup on passe par un fichier temporaire qu'on renomme par la suite. pngcrush -warn "$2" "$2.tmp" mv -f "$2.tmp" "$2" - usr/bin/convert -resize $maxwidth\> "$2" "$thumbname" + /usr/bin/convert -resize $maxwidth\> "$2" "$thumbname" /usr/bin/convert -resize $maxwidth\> -quality $webpq "$2" "$thumbwebpname" pngcrush -warn "$thumbname" "$thumbname.tmp" mv -f "$thumbname.tmp" "$thumbname"