common/: remove PATH adds from CI scripts
they are now specified in the workflow file
This commit is contained in:
parent
e0c8a977c4
commit
8fe8739a23
|
@ -5,7 +5,6 @@ die() {
|
|||
exit 1
|
||||
}
|
||||
|
||||
PATH="/usr/libexec/chroot-git:$PATH"
|
||||
command -v git >/dev/null 2>&1 ||
|
||||
die "neither chroot-git nor git could be found!"
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@ if ! [ "$base_rev" ]; then
|
|||
die "usage: $0 TEMPLATE BASE-REVISION [TIP-REVISION]"
|
||||
fi
|
||||
|
||||
PATH="/usr/libexec/chroot-git:$PATH"
|
||||
if ! command -v git >/dev/null 2>&1; then
|
||||
die "neither chroot-git nor git could be found"
|
||||
fi
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
#
|
||||
# changed_templates.sh
|
||||
|
||||
PATH="/usr/libexec/chroot-git:$PATH"
|
||||
|
||||
tip="$(git rev-list -1 --parents HEAD)"
|
||||
case "$tip" in
|
||||
# This is a merge commit, pick last parent
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
#
|
||||
# changed_templates.sh
|
||||
|
||||
PATH="/usr/libexec/chroot-git:$PATH"
|
||||
|
||||
# required by git 2.35.2+
|
||||
git config --global --add safe.directory "$PWD"
|
||||
|
||||
|
|
Loading…
Reference in New Issue