aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Patterson <ajpatter@uwaterloo.ca>2017-03-15 22:12:11 -0400
committerLudovic Courtès <ludo@gnu.org>2017-03-30 11:15:17 +0200
commit58b240783c8a1c716731f83c20da47f7dc267aa7 (patch)
tree141ed6fb54d7116da15eb7d33e582f611d7d12e3
parentfc7d5a34d01fb9ad84bc28942595867eda12f0ba (diff)
downloadguix-58b240783c8a1c716731f83c20da47f7dc267aa7.tar
guix-58b240783c8a1c716731f83c20da47f7dc267aa7.tar.gz
gnu: ccl: Forcibly set CCL_DEFAULT_DIRECTORY.
* gnu/packages/lisp.scm (ccl)[arguments]: Unconditionally set the CCL_DEFAULT_DIRECTORY environment variable in the wrapper script. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/lisp.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 208da703a0..1fcd316fad 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -483,9 +483,7 @@ statistical profiler, a code coverage tool, and many other extensions.")
(display
(string-append
"#!" bash "/bin/sh\n"
- "if [ -z \"$CCL_DEFAULT_DIRECTORY\" ]; then\n"
- " CCL_DEFAULT_DIRECTORY=" libdir "\n"
- "fi\n"
+ "CCL_DEFAULT_DIRECTORY=" libdir "\n"
"export CCL_DEFAULT_DIRECTORY\n"
"exec " libdir kernel "\n"))))
(chmod wrapper #o755)))