err: not found
Opened this issue · 0 comments
kseistrup commented
The install.sh
script refers twice to the command err
:
$ grep -n err install.sh
114: err "Need '$1' (command not found)"
127: err "Need '$1' (command not found)"
However, said err
command is not defined in the install script itself, neither is it a builtin in POSIX compliant shells.
It could be as simple as:
err() {
echo "$@" >&2
exit 1
}
Please note, though, that the variable '$1'
will never be expanded since it is enclosed in single quotes in the original script.