aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2018-11-22 19:39:07 +0100
committerPierre Neidhardt <mail@ambrevar.xyz>2018-11-22 19:40:03 +0100
commiteff8e0b4d9d4b818150f64e151227e03fdcb5aab (patch)
tree4d271171f6fcad7817ddf3ed033749a323f8c80d
parent85e9c4b91990008f2b6b07c5de6f14427d7c3a06 (diff)
downloadguix-eff8e0b4d9d4b818150f64e151227e03fdcb5aab.tar
guix-eff8e0b4d9d4b818150f64e151227e03fdcb5aab.tar.gz
gnu: ccl: Fix missing command line argument support in wrapper.
* gnu/packages/lisp.scm (ccl): Fix missing command line argument support in wrapper.
-rw-r--r--gnu/packages/lisp.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index c0f8ff0204..caa90d5a0a 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -550,9 +550,8 @@ statistical profiler, a code coverage tool, and many other extensions.")
(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"))