From 1fcd5d1067254c40921df17b8de906c81934077a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 20 Oct 2017 13:31:52 +0200 Subject: Add support for parallel bootstrap on Linux, Mac OS, and FreeBSD --- etc/bootstrap/bbot-bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc/bootstrap/bbot-bootstrap.sh') diff --git a/etc/bootstrap/bbot-bootstrap.sh b/etc/bootstrap/bbot-bootstrap.sh index e5ffe80..5908fe1 100755 --- a/etc/bootstrap/bbot-bootstrap.sh +++ b/etc/bootstrap/bbot-bootstrap.sh @@ -4,7 +4,7 @@ # copyright : Copyright (c) 2014-2017 Code Synthesis Ltd # license : TBC; see accompanying LICENSE file -usage="Usage: $0 []" +usage="Usage: $0 [] []" set -e # Exit on errors. @@ -66,7 +66,7 @@ while test $# -ne 0; do shift ;; *) - error "unexpected argument '$1'" + break ;; esac done @@ -121,7 +121,7 @@ run rm trust # bstrap="$(echo build2-toolchain-*)" run cd "$bstrap" -run ./build.sh --timeout "$timeout" --trust "$trust" $build_options "$cxx" +run ./build.sh --timeout "$timeout" --trust "$trust" $build_options "$@" "$cxx" run cd .. run rm -r "$bstrap" -- cgit v1.1