comillas en variables para evitar globbers (solo mejora codigo LINT)
This commit is contained in:
parent
97649f4353
commit
a3cb8ca2c4
1 changed files with 5 additions and 5 deletions
|
@ -28,17 +28,17 @@ TEXTO=$(zenity --entry --text="Escriba el mensaje a poner en la imagen" --entry-
|
||||||
|
|
||||||
# Temporales Escalados
|
# Temporales Escalados
|
||||||
echo "Preparando Imagenes temporales (escaladas).."
|
echo "Preparando Imagenes temporales (escaladas).."
|
||||||
convert $ANVERSO -resize 1011x638 -units PixelsPerInch -density 150 $AnvTMP 2>/dev/null
|
convert "$ANVERSO" -resize 1011x638 -units PixelsPerInch -density 150 "$AnvTMP" 2>/dev/null
|
||||||
convert $REVERSO -resize 1011x638 -units PixelsPerInch -density 150 $RevTMP 2>/dev/null
|
convert "$REVERSO" -resize 1011x638 -units PixelsPerInch -density 150 "$RevTMP" 2>/dev/null
|
||||||
|
|
||||||
echo "Ocultando, fijando texto y escala gris en ANVERSO"
|
echo "Ocultando, fijando texto y escala gris en ANVERSO"
|
||||||
convert $AnvTMP -fill gray -draw "rectangle $CAN" -fill gray -draw "rectangle $SOPORTE" -font helvetica -fill black -pointsize 30 -gravity center -annotate 0 "$TEXTO" -grayscale average -units PixelsPerInch -density 150 $AnvIMG
|
convert "$AnvTMP" -fill gray -draw "rectangle $CAN" -fill gray -draw "rectangle $SOPORTE" -font helvetica -fill black -pointsize 30 -gravity center -annotate 0 "$TEXTO" -grayscale average -units PixelsPerInch -density 150 "$AnvIMG"
|
||||||
|
|
||||||
echo "Ocultando, fijando texto y escala gris en REVERSO"
|
echo "Ocultando, fijando texto y escala gris en REVERSO"
|
||||||
convert $RevTMP -fill gray -draw "rectangle $EQUIPO" -fill gray -draw "rectangle $PADRES" -fill gray -draw "rectangle $IDE" -font helvetica -fill black -pointsize 30 -gravity center -annotate 0 "$TEXTO" -grayscale average -units PixelsPerInch -density 150 $RevIMG
|
convert "$RevTMP" -fill gray -draw "rectangle $EQUIPO" -fill gray -draw "rectangle $PADRES" -fill gray -draw "rectangle $IDE" -font helvetica -fill black -pointsize 30 -gravity center -annotate 0 "$TEXTO" -grayscale average -units PixelsPerInch -density 150 "$RevIMG"
|
||||||
|
|
||||||
echo "Limpiando temporales..."
|
echo "Limpiando temporales..."
|
||||||
rm $AnvTMP $RevTMP
|
rm "$AnvTMP" "$RevTMP"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "-----------------------------------------------"
|
echo "-----------------------------------------------"
|
||||||
|
|
Loading…
Reference in a new issue