From 7f886612caab7a111620cc790142678e49295da7 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Thu, 3 Aug 2017 22:09:33 +0600 Subject: fix on macos + brew --- merge-fuse-batch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'merge-fuse-batch') diff --git a/merge-fuse-batch b/merge-fuse-batch index fd77761..bbe3604 100755 --- a/merge-fuse-batch +++ b/merge-fuse-batch @@ -2,12 +2,13 @@ BILDROEHRE=File.dirname(__FILE__) DIR=ARGV[0] + i = 0 while line = STDIN.gets 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}" + cmd = "bash -c 'LD_LIBRARY_PATH=~/.local/lib:$LD_LIBRARY_PATH #{BILDROEHRE}/merge -F -o mertens-fused-#{is}.jpg #{args}'" STDERR.write "#{cmd}\n" `#{cmd}` i += 1 -- cgit v1.2.3