
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@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/