We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b665af4 commit f523858Copy full SHA for f523858
compile-git-with-openssl.sh
@@ -23,14 +23,13 @@ done
23
24
# Use the specified build directory, or create a unique temporary directory
25
BUILDDIR=${BUILDDIR:-$(mktemp -d)}
26
-
27
echo "BUILD DIRECTORY USED: ${BUILDDIR}"
28
mkdir -p "${BUILDDIR}"
29
cd "${BUILDDIR}"
30
+# Download the source tarball from GitHub
31
apt update
32
apt install curl -y
33
34
git_tarball_url="https://www.github.com$(curl 'https://github.com/git/git/tags' | grep -o "/git/git/archive/v2\..*\.tar\.gz" | sort -r | head -1 | tr -d '\n')"
35
echo "DOWNLOADING FROM: ${git_tarball_url}"
36
curl -L --retry 5 "${git_tarball_url}" --output "git-source.tar.gz"
0 commit comments