index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2023-05-29 16:05:59 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2023-05-29 16:05:59 +0200 |
commit | be8ac63f28a402acbf7e21972ac5d3b45bed1f79 (patch) | |
tree | 6eb83c09f6549ae41988a25243a2b424a4f99a4e /test/bin/pkgctl | |
parent | bfc22eea7e4c6877fe8b9d89fa574cb0729466db (diff) | |
parent | a07df0beeaeea1bf5665512bacc7a013eece4602 (diff) |
-rwxr-xr-x | test/bin/pkgctl | 12 |
diff --git a/test/bin/pkgctl b/test/bin/pkgctl new file mode 100755 index 0000000..9641af3 --- /dev/null +++ b/test/bin/pkgctl @@ -0,0 +1,12 @@ +#!/usr/bin/bash +set -e + +root="$(dirname -- "$(readlink -f -- "$0")")/../.." + +# always build everything so we use an up-to-date state +make -C "${root}" -j --no-print-directory --silent + +# run pkgctl from the build directory +export PATH="${root}/build/bin:${PATH}" +export _DEVTOOLS_LIBRARY_DIR="${root}/build" +"${root}/build/bin/pkgctl" "$@" |