mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-25 00:12:19 +00:00
tests: add project dir to PATH
abuild and abump call a few helpers that are expected to be available in PATH. As abuild is not installed yet, they are not in the default PATH locations. Add the project root dir to $PATH to make sure these helpers can be found.
This commit is contained in:
parent
12ba0a14a2
commit
789fca23db
@ -10,6 +10,7 @@ setup() {
|
||||
export WORKDIR="$tmpdir"/work
|
||||
export GIT_CONFIG_GLOBAL="$tmpdir"/gitconfig
|
||||
export APORTSDIR="$PWD"/testrepo
|
||||
export PATH="$PWD/../:$PATH"
|
||||
|
||||
mkdir -p "$tmpdir" "$WORKDIR"
|
||||
printf "[color]\n\tui = always\n" > "$GIT_CONFIG_GLOBAL"
|
||||
|
@ -13,6 +13,7 @@ setup() {
|
||||
export APORTSDIR="$tmpdir"
|
||||
export ABUILD_OPTS=""
|
||||
export ABUILD_APK_INDEX_OPTS="--keys-dir=$ABUILD_USERDIR"
|
||||
export PATH="$PWD/../:$PATH"
|
||||
|
||||
$ABUILD_KEYGEN --append -n
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user