mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: abcl: Fix quoting in wrapper script.
* gnu/packages/java.scm (abcl)[arguments]<#:phases>: Fix quoting in installed wrapper script. Also set hash-bang to bash since '[[' is used. Change-Id: I09ee266764c455194ab6097f096378ee1a986bcb Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
parent
d2677a1ebb
commit
56e607efc8
1 changed files with 3 additions and 2 deletions
|
@ -19,6 +19,7 @@
|
|||
;;; Copyright © 2021 Pierre Langlois <pierre.langlois@gmx.com>
|
||||
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
||||
;;; Copyright © 2022 Artyom V. Poptsov <poptsov.artyom@gmail.com>
|
||||
;;; Copyright © 2024 Paul A. Patience <paul@apatience.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -13578,14 +13579,14 @@ (define-public abcl
|
|||
":"
|
||||
share "abcl-contrib.jar")))
|
||||
(display (string-append
|
||||
"#!" (which "sh") "\n"
|
||||
"#!" (which "bash") "\n"
|
||||
"if [[ -z $CLASSPATH ]]; then\n"
|
||||
" cp=\"" classpath "\"\n"
|
||||
"else\n"
|
||||
" cp=\"" classpath ":$CLASSPATH\"\n"
|
||||
"fi\n"
|
||||
"exec " (which "java")
|
||||
" -cp $cp org.armedbear.lisp.Main $@\n")))))
|
||||
" -cp \"$cp\" org.armedbear.lisp.Main \"$@\"\n")))))
|
||||
(chmod (string-append bin "abcl") #o755)
|
||||
#t))))))
|
||||
(home-page "https://abcl.org/")
|
||||
|
|
Loading…
Reference in a new issue