summaryrefslogtreecommitdiff
path: root/merge-fuse-batch
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2017-01-13 20:24:15 +0100
committerPatrick Simianer <p@simianer.de>2017-01-13 20:24:15 +0100
commit65327d3827df7e23049ff477f0411a3681526c90 (patch)
treeba5d06279565a2ff7e642fb65129e3c1ac70c2eb /merge-fuse-batch
parent8599f3cb6a36e207e5fa0365f75c6f4333f6d641 (diff)
merge-fuse-batch: fix
Diffstat (limited to 'merge-fuse-batch')
-rwxr-xr-xmerge-fuse-batch3
1 files changed, 2 insertions, 1 deletions
diff --git a/merge-fuse-batch b/merge-fuse-batch
index fa29893..fd77761 100755
--- a/merge-fuse-batch
+++ b/merge-fuse-batch
@@ -4,7 +4,8 @@ BILDROEHRE=File.dirname(__FILE__)
DIR=ARGV[0]
i = 0
while line = STDIN.gets
- args = line.strip.split.join (" -f #{DIR}")
+ args = " -f #{DIR}"
+ args += line.strip.split.join (" -f #{DIR}")
is = i.to_s.rjust(3, "0")
cmd = "#{BILDROEHRE}/merge -F -o mertens-fused-#{is}.jpg #{args}"
STDERR.write "#{cmd}\n"