]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/all.bash
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / src / all.bash
index 006ac5965e067a8e568eb8f59f77924fa5e84b7d..5f8e8fec63dc43ff9ee0f34af900cd66844cc2d2 100755 (executable)
@@ -1,8 +1,13 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Copyright 2009 The Go Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.
 
 set -e
-bash make.bash
-bash run.bash
+if [ ! -f make.bash ]; then
+       echo 'all.bash must be run from $GOROOT/src' 1>&2
+       exit 1
+fi
+. ./make.bash "$@" --no-banner
+bash run.bash --no-rebuild
+$GOTOOLDIR/dist banner  # print build info