From 0d61498db90802d1823099f2d37fd4aea3e46949 Mon Sep 17 00:00:00 2001 From: Sudhi Herle Date: Fri, 18 Oct 2019 19:57:37 -0500 Subject: [PATCH] Better err message when no protobuf found --- build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build b/build index 232e01e..92f6807 100755 --- a/build +++ b/build @@ -228,7 +228,7 @@ done [ $Dryrun -gt 0 ] && e=echo # let every error abort -set -e +#set -e # This fragment can't be in a function - since it exports several vars if [ -n "$Arch" ]; then @@ -304,7 +304,7 @@ if [ -n "$Protobufs" ]; then slicksrc=github.com/gogo/protobuf/protoc-gen-gogoslick pc=$(type -p protoc) - [ -z "$pc" ] && die "Need 'protoc' for building .." + [ -z "$pc" ] && die "Please install protobuf-tools .." slick=$(hosttool protoc-gen-gogoslick $Hostbindir $slicksrc) || exit 1 #if [ ! -f $slick ]; then