diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2023-01-11 22:02:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 22:02:28 +0300 |
commit | 74dd2710dc77b85d6ad72c4534f4c7d7f67b86b2 (patch) | |
tree | 678fbd7d7d1cee3e3d53d0f4f0a66c6273bb8c11 /src/git/install.sh | |
parent | e67f4dc0fd053d7bac56a8c802b3a1af68da5bf6 (diff) |
Git: Use sysconfdir=/etc for git built from source (#395)
* Git: Adds a new 'addGitConfigSymlink' option
* Use sysconfdir
Diffstat (limited to 'src/git/install.sh')
-rwxr-xr-x | src/git/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/git/install.sh b/src/git/install.sh index 52081f1..679e497 100755 --- a/src/git/install.sh +++ b/src/git/install.sh @@ -144,7 +144,7 @@ echo "Downloading source for ${GIT_VERSION}..." curl -sL https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz | tar -xzC /tmp 2>&1 echo "Building..." cd /tmp/git-${GIT_VERSION} -make -s USE_LIBPCRE=YesPlease prefix=/usr/local all && make -s USE_LIBPCRE=YesPlease prefix=/usr/local install 2>&1 +make -s USE_LIBPCRE=YesPlease prefix=/usr/local sysconfdir=/etc all && make -s USE_LIBPCRE=YesPlease prefix=/usr/local sysconfdir=/etc install 2>&1 rm -rf /tmp/git-${GIT_VERSION} rm -rf /var/lib/apt/lists/* echo "Done!" |