From 95e7897bd81885f1068faa0652cc463c00364f62 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Fri, 28 Apr 2017 21:16:03 +0000 Subject: [PATCH] Revert "build: fail nicely if somebody runs all.bash from a binary tarball package" This reverts commit 3d86d45dd60358636c569e9cf06b23b5e0e04e8a. Reason for revert: Fixing a different way. See #20008. Change-Id: I6f4382ffdfff83a4504b013ba37100319b2c1aad Reviewed-on: https://go-review.googlesource.com/42138 Reviewed-by: Brad Fitzpatrick --- src/all.bash | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/all.bash b/src/all.bash index abe2beb6dd8..5d994d3d0da 100755 --- a/src/all.bash +++ b/src/all.bash @@ -8,10 +8,6 @@ if [ ! -f make.bash ]; then echo 'all.bash must be run from $GOROOT/src' 1>&2 exit 1 fi -if [ ! -f cmd/api/run.go ]; then - echo 'all.bash cannot be run from a binary download package' 1>&2 - exit 1 -fi OLDPATH="$PATH" . ./make.bash "$@" --no-banner bash run.bash --no-rebuild