From ee11ef589958e76505708f1e29a37b6d0dd20045 Mon Sep 17 00:00:00 2001 From: dave <dave@dtu.dk> Date: Mon, 1 Aug 2016 17:43:37 +0200 Subject: [PATCH] prepost.Simulations: add missing find -exec ; --- wetb/prepost/Simulations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wetb/prepost/Simulations.py b/wetb/prepost/Simulations.py index 64f551fb..b6bbd15c 100755 --- a/wetb/prepost/Simulations.py +++ b/wetb/prepost/Simulations.py @@ -1206,7 +1206,7 @@ def create_chunks_htc_pbs(cases, sort_by_values=['[Windspeed]'], ppn=20, pbs += 'echo "hard-linking all turb files into CPU dirs"\n' for k in range(ppn): rpl = (os.path.join(sim_id, turb_dir_base), k) - pbs += 'find %s -iname *.bin -exec ln {} %s/{}\n' % rpl + pbs += 'find %s -iname *.bin -exec ln {} %s/{}\\;\n' % rpl # ===================================================================== # finally we can run find+xargs!!! -- GitLab