Make utilities posix compatible#15139
Conversation
Replace `cp -av` with `cp -R -P -p` because neither `-a` nor `-v` are POSIX compliant Replace `local` keyword in shell functions with subshell style `( )` functions. Fixed other Shellcheck warnings.
|
I'm not completely sure dropping |
|
Just the other day I've been wondering about dropping |
|
@nanobowers @HertzDevil I resolved a merge conflict with #15138 pretty much to the letter (merging |
FWIW, I wasn't sure what to do with https://pubs.opengroup.org/onlinepubs/9799919799/
I missed that one, thanks! Fix is incoming. |
Replace `cp -av` with `cp -R -P -p` because neither `-a` nor `-v` are POSIX compliant (Makefile) Replace `local` keyword in shell functions with subshell style `( )` functions. (bin/crystal) Fixed other Shellcheck warnings. (bin/crystal)
Replace
cp -avwithcp -R -P -pbecause neither-anor-vare POSIX compliant (Makefile)Replace
localkeyword in shell functions with subshell style( )functions. (bin/crystal)Fixed other Shellcheck warnings. (bin/crystal)
Fixes #14846