InterNetNews / inn

INN (InterNetNews) Usenet server
https://www.isc.org/othersoftware/#INN
Other
68 stars 13 forks source link

Wrong shell used when running support scripts at build time #252

Closed Julien-Elie closed 1 year ago

Julien-Elie commented 1 year ago

The default shell is used when running fixconfig, fixscript, mksystem and mkversion at build time. This shell may not be POSIX-compliant. The one found by Autoconf should be used instead.

The build otherwise fails with errors like:

../support/mkversion '2.8.0' '20230106 snapshot' > inn/version.h
../support/mkversion: syntax error at line 16: `date=$' unexpected
Julien-Elie commented 1 year ago

While fixing that, make sure other shell scripts are using the right shell. makedepend and innshellvars need for instance being fixed. Let's keep as-is the ones from other packages (Libtool, Automake) which seem to work fine with old shells.