diff options
author | Florian Pritz <bluewind@xssn.at> | 2009-10-20 21:31:10 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xssn.at> | 2009-10-20 21:31:10 +0200 |
commit | b941b9f3cde98ff61d3aab0f2c90113ebf84bbc0 (patch) | |
tree | 3c101e13556f0197df89c8b575785c79b4ead06a | |
parent | d0e897329bc9c2ca5ef87292fa42877e55537280 (diff) | |
download | bin-b941b9f3cde98ff61d3aab0f2c90113ebf84bbc0.tar.gz bin-b941b9f3cde98ff61d3aab0f2c90113ebf84bbc0.tar.xz |
make-widescreen.sh: fix problems with spaces
Signed-off-by: Florian Pritz <bluewind@xssn.at>
-rwxr-xr-x | make-widescreen.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/make-widescreen.sh b/make-widescreen.sh index 40fd1eb..5db0f55 100755 --- a/make-widescreen.sh +++ b/make-widescreen.sh @@ -1,6 +1,6 @@ #!/bin/bash #---------------------------------------------------- -# Version: 0.1.0 +# Version: 0.1.1 # Author: Florian "Bluewind" Pritz <flo@xssn.at> # # Licensed under WTFPL v2 @@ -10,7 +10,7 @@ # double image and make 2 combos #---------------------------------------------------- -for i in $@; do +for i in "$@"; do orig_x="$(identify -format "%W" "$i")" orig_y="$(identify -format "%H" "$i")" convert "${i}" -flop -size $((${orig_x}*2))x${orig_y} \ |