aboutsummaryrefslogtreecommitdiff
path: root/src/gui_ambi.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-02-18 11:22:13 +0100
committerThomas White <taw@physics.org>2021-02-18 11:22:13 +0100
commita9584e4fd46cad8bb88d31629e9b9a31ce8e46f8 (patch)
treeec8f77cc157f7e79ae6f70db97196425f0b20ddb /src/gui_ambi.c
parent240f9e7311497c15386d0b62242f6747a24ac7bc (diff)
SLURM: Submit merging and ambigator jobs via script
Diffstat (limited to 'src/gui_ambi.c')
-rw-r--r--src/gui_ambi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_ambi.c b/src/gui_ambi.c
index 9050eb5c..d29ce6b0 100644
--- a/src/gui_ambi.c
+++ b/src/gui_ambi.c
@@ -476,6 +476,8 @@ int write_ambigator_script(const char *filename,
fh = fopen(filename, "w");
if ( fh == NULL ) return 1;
+ fprintf(fh, "#!/bin/sh\n");
+
fprintf(fh, "cat \\\n");
for ( i=0; i<input->n_streams; i++ ) {
fprintf(fh, "%s \\\n", input->streams[i]);