diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-02-01 13:31:56 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-02-01 13:31:56 +0200 |
commit | af3d4b7038382018d875a8eed01cda78046fc7eb (patch) | |
tree | 3fac5c38b704fb36460732bea59b316c237bfde6 /stage | |
parent | 75fc4018e036354feb8fb16b467e499b45731281 (diff) |
Script updates for new single configuration toolchain dev setup
Diffstat (limited to 'stage')
-rwxr-xr-x | stage | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -33,10 +33,14 @@ bpkg --version >/dev/null bdep --version >/dev/null # Make sure the build system if up to date (otherwise update will be triggered -# by libbuild2-* module distribution). +# by libbuild2-* module distribution). Also make sure the package manager is +# up to date since it depend on libbuild2. Update project manager for good +# measure. # -b build2/build2/ -b --version >/dev/null +b build2/build2/ bpkg/bpkg/ bdep/bdep/ +b --version >/dev/null +bpkg --version >/dev/null +bdep --version >/dev/null v="$(sed -n -re 's/^version: ([^.]+\.[^.]+\.[^-]+(-[ab]\.[^.+]+)?).*$/\1/p' build2-toolchain/manifest)" vf="$(echo $v | sed -re 's/^([^.]*)\.([^.]*)\.([^-]*).*$/\1.\2.\3/')" # Final. |