-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INIT: make.probe: get rid of obsolete SHELLMAGIC probe
Here is another small step towards cleaning up the build system. The SHELLMAGIC probe (its result shows up as mam_cc_SHELLMAGIC in the Mamfiles) checks for broken systems that absolutely must have a hashbang path (#!/bin/sh, etc.) in order to run a shell script. This does not describe any remotely current system. On systems where a hashbang-less script fails, the probe only tested for: 1. #!/bin/env sh 2. #!/emx/bin/bash.exe 3. #!/emx/bin/sh.exe Re 1, on all modern systems, env is at /usr/bin/env (it's become a de facto standard), and re 2 and 3, those paths existed on OS/2 (last release more than two decades ago). src/cmd/INIT/make.probe: - Remove obsolete SHELLMAGIC probe. src/cmd/INIT/Mamfile, src/lib/libast/Mamfile: - Remove use of mam_cc_SHELLMAGIC. - Drastically simplify related generated shell code.
- Loading branch information
Showing
3 changed files
with
10 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.