mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-06 18:00:28 +00:00
$prog.ape is now literal
This commit is contained in:
parent
872e8c4e56
commit
eddebe8db5
1 changed files with 1 additions and 1 deletions
|
@ -997,7 +997,7 @@ int main(int argc, char **argv, char **envp) {
|
||||||
but it will if you say:
|
but it will if you say:
|
||||||
ln -sf /usr/local/bin/ape /opt/cosmos/bin/bash.ape
|
ln -sf /usr/local/bin/ape /opt/cosmos/bin/bash.ape
|
||||||
and then use #!/opt/cosmos/bin/bash.ape instead. */
|
and then use #!/opt/cosmos/bin/bash.ape instead. */
|
||||||
M->ps.literally = 0;
|
M->ps.literally = 1;
|
||||||
argc = sp[0];
|
argc = sp[0];
|
||||||
argv = (char **)(sp + 1);
|
argv = (char **)(sp + 1);
|
||||||
} else if ((M->ps.literally = argc >= 3 && !StrCmp(argv[1], "-"))) {
|
} else if ((M->ps.literally = argc >= 3 && !StrCmp(argv[1], "-"))) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue