From 729f9a20df8472e69c674abd1d10e1c430b24c2a Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 11 Apr 2020 03:10:23 +0200 Subject: [PATCH] No longer hardcode the full path to git(1) --- src/deforaos-git-doc.sh | 2 +- src/deforaos-git-mirror.sh | 2 +- src/deforaos-git-tests.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/deforaos-git-doc.sh b/src/deforaos-git-doc.sh index 011f5bb..fb8fa85 100755 --- a/src/deforaos-git-doc.sh +++ b/src/deforaos-git-doc.sh @@ -33,7 +33,7 @@ MIRROR="doc:doc" PROGNAME_GIT_DOC="deforaos-git-doc.sh" #executables CONFIGURE="/usr/local/bin/configure" -GIT="/usr/bin/git" +GIT="git" GIT_CLONE="$GIT clone -q" MAKE="make" MKTEMP="mktemp" diff --git a/src/deforaos-git-mirror.sh b/src/deforaos-git-mirror.sh index f5df298..56bdc78 100755 --- a/src/deforaos-git-mirror.sh +++ b/src/deforaos-git-mirror.sh @@ -29,7 +29,7 @@ GIT_MIRROR="/home/defora/git" GIT_REMOTE="origin" PROGNAME_GIT_MIRROR="deforaos-git-mirror.sh" #executables -GIT="/usr/bin/git" +GIT="git" GIT_CLONE="$GIT clone -q" GIT_FETCH="$GIT fetch -q" GIT_RESET="$GIT reset -q" diff --git a/src/deforaos-git-tests.sh b/src/deforaos-git-tests.sh index 9547f06..a1982fb 100755 --- a/src/deforaos-git-tests.sh +++ b/src/deforaos-git-tests.sh @@ -30,7 +30,7 @@ GIT_REMOTE="https://git.defora.org" PROGNAME_GIT_TESTS="deforaos-git-tests.sh" #executables CONFIGURE="/usr/local/bin/configure" -GIT="/usr/bin/git" +GIT="git" GIT_CLONE="$GIT clone -q" MAKE="make" MKTEMP="mktemp"