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>
This commit is contained in:
Andy Patterson 2017-03-15 22:12:11 -04:00 committed by Ludovic Courtès
parent fc7d5a34d0
commit 58b240783c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -483,9 +483,7 @@ (define-public ccl
(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)))