]> git.ipfire.org Git - thirdparty/git.git/commit
build: sed portability fixes
authorJunio C Hamano <gitster@pobox.com>
Thu, 12 Jun 2025 17:04:58 +0000 (10:04 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Jun 2025 20:44:10 +0000 (13:44 -0700)
commit5acfacc2a125912c2172467fdaa0ef1f5ad6fb82
treef0462dbba5d74168734f64c3fe5605b9ba78e18d
parent6a9e1c3507818fc7a7c301c16fda5ceecb82ae72
build: sed portability fixes

Recently generating the version-def.h file and the config-list.h
file have been updated, which broke versions of "sed" that do not
want to be fed a file that ends with an incomplete line, and/or that
do not understand the more recent "-E" option to use extended
regular expression.

Fix them in response to a build-failure reported on Solaris boxes.

cf. https://lore.kernel.org/git/09f954b8-d9c3-418f-ad4b-9cb9b063f4ae@comstyle.com/

Reported-by: Brad Smith <brad@comstyle.com>
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
GIT-VERSION-GEN
generate-configlist.sh