aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-aux/generate-cwl-output.sh.in6
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"