aboutsummaryrefslogtreecommitdiff
path: root/build.sh.in
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-11-16 23:38:42 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-11-17 18:49:58 +0300
commit3860ef4ca137e121aa7f7ba1ff5e531d0acfef12 (patch)
treeb283df355683ebc009f0e3643c7db825ba8cd0b4 /build.sh.in
parent088c7148422b9bb28c0ec54d9e76ec23c9c1ef47 (diff)
Make use of bpkg --all-pattern option in build scripts and installation documentation
Diffstat (limited to 'build.sh.in')
-rw-r--r--build.sh.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/build.sh.in b/build.sh.in
index 613dad3..0c48831 100644
--- a/build.sh.in
+++ b/build.sh.in
@@ -555,18 +555,16 @@ fi
# Build, install, and verify the build system modules.
#
packages=
-package_versions=
tests=
for m in $module_list; do
- packages="$packages libbuild2-$m"
- package_versions="$package_versions libbuild2-$m/$(module_version "$m")"
+ packages="$packages libbuild2-$m/$(module_version "$m")"
tests="$tests tests/libbuild2-$m-tests/"
done
if test -n "$packages"; then
- run bpkg build --for install $package_versions
- run bpkg install $packages
+ run bpkg build --for install $packages
+ run bpkg install --all-pattern=libbuild2-*
fi
run cd "$owd"