From 309cc5958c101df899218074c240383df1b08675 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 9 Apr 2019 14:19:25 +0200 Subject: Use 'command -v' instead of 'which' in build script --- build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 4a29e6c..aa4134e 100755 --- a/build.sh +++ b/build.sh @@ -314,8 +314,8 @@ config.install.sudo="$conf_sudo" run build2/build2/b-boot $verbose $jobs install: build2/ bpkg/ -run which b-stage -run which bpkg-stage +run command -v b-stage +run command -v bpkg-stage run b-stage --version run bpkg-stage --version @@ -340,9 +340,9 @@ run bpkg-stage $verbose $bpkg_fetch_ops fetch run bpkg-stage $verbose $jobs $bpkg_build_ops build --for install --yes --plan= build2 bpkg bdep run bpkg-stage $verbose $jobs install build2 bpkg bdep -run which b -run which bpkg -run which bdep +run command -v b +run command -v bpkg +run command -v bdep run b --version run bpkg --version -- cgit v1.1