diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-10-23 13:00:13 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-10-23 21:27:32 -0400 |
commit | 7adc66259e25469d6cbfcebe5b78ef39fb5d431b (patch) | |
tree | c86cf97494df534f7faa2613ea6fbaa77c0a1b4f /autogen.sh | |
parent | f65b05488762eb8e56df970d7942958da631c895 (diff) | |
download | lighttpd-git-7adc66259e25469d6cbfcebe5b78ef39fb5d431b.tar.gz |
[build] more portable autogen.sh shell script
Use more portable shell function definition, better supported by /bin/sh
Some /bin/sh, e.g. dash, do not support trap on ERR,
so that will issue some trace and will not trigger on ERR,
but the rest of the script runs fine.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,7 +1,7 @@ #!/bin/sh # Run this to generate all the initial makefiles, etc. -function errtrace { +errtrace() { echo 1>&2 \ "build requires autoconf automake libtool m4 pcre pcre-devel pkg-config" } |