aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui_merge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_merge.c b/src/gui_merge.c
index d561c2da..762c7e95 100644
--- a/src/gui_merge.c
+++ b/src/gui_merge.c
@@ -452,6 +452,8 @@ static int write_process_hkl_script(const char *filename,
fh = fopen(filename, "w");
if ( fh == NULL ) return 1;
+ fprintf(fh, "#!/bin/sh\n");
+
exe_path = get_crystfel_exe("process_hkl");
if ( exe_path == NULL ) return 1;