Allow Hash Bang line patch for luban beta 1.2
Status: Beta
Brought to you by:
pxhuang
This is a patch to allow the usual:
#!/path/to/luban
as the first line of a script. This allows luban
scripts to be "stand alone" on OSes which support it
(Linux, for example). On OSes which don't support it
(ie Windows), the interpreter will simply ignore the line.
Patch is supplied as a context diff. Apply patch in
the top level directory of the luban source tree.
Using GNU patch, the following command should work:
patch -p0 < shebang-context.diff
There are probably improvements that can (and should)
be made.
Please direct all comments, flames, etc regarding this
patch to r11132a@users.sourceforge.net
patch to handle a Hash Bang line at the top of the script.