gnu: ccl: Fix missing command line argument support in wrapper.

* gnu/packages/lisp.scm (ccl): Fix missing command line argument support in wrapper.
This commit is contained in:
Pierre Neidhardt 2018-11-22 19:39:07 +01:00
parent 85e9c4b919
commit eff8e0b4d9
No known key found for this signature in database
GPG key ID: 9BDCF497A4BBCC7F

View file

@ -550,9 +550,8 @@ (define-public ccl
(display
(string-append
"#!" bash "/bin/sh\n"
"CCL_DEFAULT_DIRECTORY=" libdir "\n"
"export CCL_DEFAULT_DIRECTORY\n"
"exec " libdir kernel "\n"))))
"export CCL_DEFAULT_DIRECTORY=" libdir "\n"
"exec -a \"$0\" " libdir kernel " \"$@\"\n"))))
(chmod wrapper #o755))
#t)))))
(supported-systems '("i686-linux" "x86_64-linux" "armhf-linux"))