Swap shebang with set -e

This commit is contained in:
0x1eef 2024-05-11 16:43:59 -03:00
parent f2d3e7bc5c
commit 5e2171906b
12 changed files with 22 additions and 12 deletions

View file

@ -4,7 +4,7 @@ srczap manages a local copy of the
[HardenedBSD source tree](https://git.hardenedbsd.org/hardenedbsd/HardenedBSD). [HardenedBSD source tree](https://git.hardenedbsd.org/hardenedbsd/HardenedBSD).
The copy of the source tree is maintained by members of The copy of the source tree is maintained by members of
the `_srczap` group, and a copy of the source tree the `_srczap` group, and a copy of the source tree
can be installed to `/usr/src/` by root. can be installed into `/usr/src/` by root.
## Examples ## Examples

View file

@ -1,4 +1,5 @@
#!/bin/sh -e #!/bin/sh
set -e
## ##
# variables # variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e #!/bin/sh
set -e
## ##
# variables # variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e #!/bin/sh
set -e
## ##
# variables # variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e #!/bin/sh
set -e
## ##
# variables # variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e #!/bin/sh
set -e
## ##
# variables # variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e #!/bin/sh
set -e
group="_srczap" group="_srczap"
if id -Gn | \ if id -Gn | \

View file

@ -1,4 +1,5 @@
#!/bin/sh -e #!/bin/sh
set -e
## ##
# variables # variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e #!/bin/sh
set -e
## ##
# variables # variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e #!/bin/sh
set -e
## ##
# variables # variables

View file

@ -1,4 +1,5 @@
#!/bin/sh -e #!/bin/sh
set -e
## ##
# variables # variables

View file

@ -18,7 +18,7 @@ srczap erase
manages a copy of the HardenedBSD source tree. manages a copy of the HardenedBSD source tree.
The copy of the source tree is maintained by members of The copy of the source tree is maintained by members of
the '_srczap' group, and a copy of the source tree the '_srczap' group, and a copy of the source tree
can be installed to /usr/src/ by root. can be installed into /usr/src/ by root.
.Sh EXAMPLES .Sh EXAMPLES
.sp .sp
.sp .sp