aboutsummaryrefslogtreecommitdiff
path: root/src/gui_ambi.c
diff options
context:
space:
mode:
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]);