env-dependent scripts with hashbang line not possible
Bug #1284148 reported by
Alexander Pánek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Note: I am not a Lisp developer, I am merely trying to use a project written in Lisp, using SBCL.
I was trying make a script aware of the fact that sbcl might not be installed in /usr/bin/sbcl, but somewhere else in PATH. However, simply replacing the first line to be:
#!/usr/bin/env sbcl --script
... did not work, as env would complain there is no file called "sbcl --script".
I know I could create an alias and refer to that, but I'd rather find a commonly usable solution that anyone can use.
Any thoughts?
To post a comment you must log in.
It's a problem with execve(2), not SBCL.