Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test/bin/pkgctl
blob: 9641af32c77e9af97e9afcc2f97fbc9c28f0cf04 (plain)
1
2
3
4
5
6
7
8
9
10
11
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" "$@"