commit 9041029903cb6f547cacc9838e73b91c80842385 parent 2f59d0ae176a234d0d5854ffca09da4fbbc652c4 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 11 May 2018 15:14:14 -0400 Quote file-name variables Diffstat:
M | links/bin/scale.sh | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/links/bin/scale.sh b/links/bin/scale.sh @@ -7,7 +7,7 @@ fi for f in "$@"; do if [[ "$f" != *% ]]; then - echo $f - convert $f -resize $1 scaled-$f + echo "$f" + convert "$f" -resize "$1" "scaled-$f" fi done