[cl-debian] Bug#384697: cl-launch: need to modify script variables without touching the script
Luca Capello
luca at pca.it
Tue Aug 29 21:10:14 UTC 2006
Hello!
On Sat, 26 Aug 2006 18:50:40 +0200, Luca Capello wrote:
> ATM the patch is quite dirty, because it uses grep and the BASH
> parameter substitution to assign the value, while the same function
> should be very simple as:
>
> check_lisp_variable () {
> test -r /etc/cl-launchrc && . /etc/cl-launchrc
> test -r "$HOME/.cl-launchrc" && . "$HOME/.cl-launchrc"
> test -n ${SOFTWARE_SYSTEM} && LISP=${SOFTWARE_SYSTEM}
> }
>
> The last line is obviously fault, what I'd like to do is:
It was quite simple, just putting two ! (and I'd like to thanks
__dave at irc.freenode.net for his support).
The attached patch is tested on cl-launch_1.85-1, but it's generated
against cl-launch_1.86 as at [1].
Comments?
Thx, bye,
Gismo / Luca
Footnotes:
[1] http://fare.tunes.org/files/cl-launch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cl-launch.sh_add-cl-launchrc-support_gismo-20060829.patch
Type: text/x-patch
Size: 596 bytes
Desc: add support for /etc/cl-launchrc and $HOME/.cl-launchrc
URL: <https://mailman.common-lisp.net/pipermail/cl-debian/attachments/20060829/3a6b24e1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/cl-debian/attachments/20060829/3a6b24e1/attachment.sig>
More information about the Cl-debian
mailing list