From 91be1a194b0ee7950b3a1ee665aa28bdf6bed794 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Thu, 29 Sep 2022 13:20:30 +0800 Subject: [PATCH] git fixes --- install/git | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/git b/install/git index a5fe3e6..1240d0c 100755 --- a/install/git +++ b/install/git @@ -15,11 +15,11 @@ installed() { if installed git; then if [ -d "${HOME}/install/git" ]; then - cd /usr/src/git/ && \ + cd "${HOME}/install/git" && \ git pull else git clone https://github.com/git/git.git --depth=1 "${HOME}/install/git" && \ - cd /usr/src/git/ + cd "${HOME}/install/git" fi sudo make prefix=/usr/local all && \ sudo make prefix=/usr/local install