common/: remove PATH adds from CI scripts

they are now specified in the workflow file
This commit is contained in:
classabbyamp 2022-10-09 01:51:18 -04:00 committed by classabbyamp
parent e0c8a977c4
commit 8fe8739a23
4 changed files with 0 additions and 6 deletions

View File

@ -5,7 +5,6 @@ die() {
exit 1 exit 1
} }
PATH="/usr/libexec/chroot-git:$PATH"
command -v git >/dev/null 2>&1 || command -v git >/dev/null 2>&1 ||
die "neither chroot-git nor git could be found!" die "neither chroot-git nor git could be found!"

View File

@ -13,7 +13,6 @@ if ! [ "$base_rev" ]; then
die "usage: $0 TEMPLATE BASE-REVISION [TIP-REVISION]" die "usage: $0 TEMPLATE BASE-REVISION [TIP-REVISION]"
fi fi
PATH="/usr/libexec/chroot-git:$PATH"
if ! command -v git >/dev/null 2>&1; then if ! command -v git >/dev/null 2>&1; then
die "neither chroot-git nor git could be found" die "neither chroot-git nor git could be found"
fi fi

View File

@ -2,8 +2,6 @@
# #
# changed_templates.sh # changed_templates.sh
PATH="/usr/libexec/chroot-git:$PATH"
tip="$(git rev-list -1 --parents HEAD)" tip="$(git rev-list -1 --parents HEAD)"
case "$tip" in case "$tip" in
# This is a merge commit, pick last parent # This is a merge commit, pick last parent

View File

@ -2,8 +2,6 @@
# #
# changed_templates.sh # changed_templates.sh
PATH="/usr/libexec/chroot-git:$PATH"
# required by git 2.35.2+ # required by git 2.35.2+
git config --global --add safe.directory "$PWD" git config --global --add safe.directory "$PWD"