diff options
author | Patrick Simianer <p@simianer.de> | 2017-08-03 22:09:33 +0600 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2017-08-03 22:09:33 +0600 |
commit | 7f886612caab7a111620cc790142678e49295da7 (patch) | |
tree | ac080846885bf7d4ff05706281f3a8eca79c86ec /merge-fuse-batch | |
parent | 4dda9e56c11610c9769360000eaea5b66e63f005 (diff) |
fix on macos + brew
Diffstat (limited to 'merge-fuse-batch')
-rwxr-xr-x | merge-fuse-batch | 3 |
1 files changed, 2 insertions, 1 deletions
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 |