[SCRIPTS] Fix a missing /

This commit is contained in:
Gregory Trolliet 2022-09-14 19:40:50 +02:00
parent 82c4ad51e1
commit b6ec223f34
1 changed files with 1 additions and 1 deletions

View File

@ -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"