$prog.ape is now literal

This commit is contained in:
Jōshin 2024-01-07 01:46:30 -05:00
parent 872e8c4e56
commit eddebe8db5
No known key found for this signature in database

View file

@ -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], "-"))) {