]> git.ipfire.org Git - thirdparty/git.git/commit
ci: convert "install-dependencies.sh" to use "/bin/sh"
authorPatrick Steinhardt <ps@pks.im>
Fri, 12 Apr 2024 04:44:17 +0000 (06:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Apr 2024 15:47:50 +0000 (08:47 -0700)
commit40c60f4c124d1ae59c0f05dcd37dbe0c63d64ab7
treecf71e4ccd8e3bf92fe462cd5ef4587fb14a5c06a
parent21bcb4a6023c70b1359ba138dedcf37939be5eaa
ci: convert "install-dependencies.sh" to use "/bin/sh"

We're about to merge the "install-docker-dependencies.sh" script into
"install-dependencies.sh". This will also move our Alpine-based jobs
over to use the latter script. This script uses the Bash shell though,
which is not available by default on Alpine Linux.

Refactor "install-dependencies.sh" to use "/bin/sh" instead of Bash.
This requires us to get rid of the pushd/popd invocations, which are
replaced by some more elaborate commands that download or extract
executables right to where they are needed.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/install-dependencies.sh