summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake-widescreen.sh4
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} \