diff options
author | illiliti <[email protected]> | 2021-05-08 15:58:26 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-08 08:58:26 -0700 |
commit | 36e8abee95576de588802afadd2c44c674e00acb (patch) | |
tree | 2212380e07434d4f9d147b0b1aa1214c54d8a5ce /include/libuutil.h | |
parent | 93c8e91fe7f5c55612131db64297106d7e5d1cdd (diff) |
copy-builtin: posix conformance
This commits contains changes to allow running `copy-builtin` without
bash + some minor improvements.
changed shebang to /bin/sh
added -f option to `set` to globally disable unneeded globbing
replaced all `echo` commands within add_after() with `printf`
alternative to avoid possible issues with options (-neE)
dropped non-portable superfluous `readlink` command
replaced superfluous `true` command with `:` builtin alternative
replaced non-portable `--recursive` option of `cp` command with `-R`
alternative
dropped non-portable `local` keyword
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: illiliti <[email protected]>
Closes #12004
Diffstat (limited to 'include/libuutil.h')
0 files changed, 0 insertions, 0 deletions