diff options
author | Arun Isaac | 2021-08-17 15:25:09 +0530 |
---|---|---|
committer | Arun Isaac | 2021-08-17 15:25:09 +0530 |
commit | 99b11c99393e2d5e52347c456c4370f842c0fb49 (patch) | |
tree | 93d6e79e6f873e7fdbf2b222461df6933c7af216 /build-aux | |
parent | 4b898a0a437f7d0c58e3766202a48c2c2d5f70d2 (diff) | |
download | ccwl-99b11c99393e2d5e52347c456c4370f842c0fb49.tar.gz ccwl-99b11c99393e2d5e52347c456c4370f842c0fb49.tar.lz ccwl-99b11c99393e2d5e52347c456c4370f842c0fb49.zip |
build-aux: Preserve only the LIBRARY_PATH environment in cwltool runs.
* build-aux/generate-cwl-output.sh.in: Preserve only the LIBRARY_PATH
environment variable.
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/generate-cwl-output.sh.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/generate-cwl-output.sh.in b/build-aux/generate-cwl-output.sh.in index 6f56996..ca5803e 100755 --- a/build-aux/generate-cwl-output.sh.in +++ b/build-aux/generate-cwl-output.sh.in @@ -28,9 +28,9 @@ output_file=$(basename $cwl_file .cwl).out { echo "\$ ccwl compile $(basename $cwl_file .cwl).scm > $cwl_file" echo "\$ cwltool $cwl_file $@" - # On Guix, workflows involving gcc need the - # --preserve-entire-environment flag. - @CWLTOOL@ --preserve-entire-environment --outdir cwl-output $cwl_file "$@" 2>&1 \ + # On Guix, workflows involving gcc need to preserve the + # LIBRARY_PATH environment variable. + @CWLTOOL@ --preserve-environment LIBRARY_PATH --outdir cwl-output $cwl_file "$@" 2>&1 \ | @SED@ '1,2d' \ | @SED@ 's|\[1;30mINFO\[0m ||g' \ | @SED@ "s|$(pwd)|/home/manimekalai|g" |