summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"