autogen.sh declares functions using the 'function' which is a bash builtin, so a bin/sh shebang results a syntax error on Ubuntu which provides dash as the /bin/sh, since dash doesn't support the 'function' builtin. Removing the 'function' word would be ok.
autogen.sh declares functions using the 'function' which is a bash builtin, so a bin/sh shebang results a syntax error on Ubuntu which provides dash as the /bin/sh, since dash doesn't support the 'function' builtin. Removing the 'function' word would be ok.