-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INIT: remove 'ignore' and 'silent' stub scripts
These are stub scripts to deal with mamake prefix artefacts in the Mamfiles. The 'ignore' script runs the command (after exporting variables indicated by arguments containing a '=', if any) and returns status zero regardless of the result of the command. The 'silent' script does the same but keeps the exit status. (In spite of what its name might suggest, it does suppress any output.) The Mamfiles contain several places where 'silent' is used, and those prefixes can simply be removed -- whereas 'ignore' is currently unused. bin/ignore, src/cmd/INIT/ignore.sh, bin/silent, src/cmd/INIT/silent.sh: - Removed. src/cmd/INIT/mamake.c: run(): - To keep backwards compatibility while still getting rid of clutter, add silent() and ignore() stub functions to the common prefix code for 'exec -' shell action scripts; this should allow any backported old Mamfile code to continue to run. - Remove 'trap - 1 2 3 15'. The script is executed as a -c script (via execute()), so all traps are already initialised as default. src/*/*/Mamfile: - Remove 'silent' prefixes. - Remove no-op 'test -d . || mkdir .'.
- Loading branch information
Showing
15 changed files
with
87 additions
and
281 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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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.