index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Levente Polyak <anthraxx@archlinux.org> | 2023-01-12 19:33:21 +0100 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-05-20 00:08:11 +0200 |
commit | c839d52793bb6de66bbf5895faa8c293beea7ee0 (patch) | |
tree | 110ddb69c80bfab5bc02020cf836e64e7117199c /test | |
parent | cddba60958d7aba15dac06acfc697b81e31581a1 (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" "$@" |