This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
GIT_VERSION="2.23.0" | |
yum install -y gcc wget make curl-devel expat-devel \ | |
gettext-devel openssl-devel perl-devel zlib-devel | |
cd ~ | |
if [ ! -f git-${GIT_VERSION}.tar.gz ]; then | |
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-${GIT_VERSION}.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BASE_DIR=$(dirname $0) | |
BUILD_SCRIPT_NAME="build-git.sh" | |
BUILD_SCRIPT="${BASE_DIR}/${BUILD_SCRIPT_NAME}" | |
if [ ! -d /share/Public/toolchain ]; then | |
mkdir /share/Public/toolchain | |
fi |