diff options
author | Thomas White <taw@physics.org> | 2021-02-18 13:15:57 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-02-18 13:15:57 +0100 |
commit | df4b2e604dc0984879e2f417ca5ae1ab7066f539 (patch) | |
tree | 8f6f088f391cacc33053f8fcfa0987d80390f2c6 /src/gui_merge.c | |
parent | 705b7a94948cc8f0793c24efe00e36d2d2174085 (diff) |
GUI: Add bangpath for process_hkl jobs
Diffstat (limited to 'src/gui_merge.c')
-rw-r--r-- | src/gui_merge.c | 2 |
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; |