From d04eb00211c2b1c562ee121a0ddfc450ae77a25e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 2 Apr 2019 23:06:01 +0200 Subject: [PATCH] Update benchmark.sh --- functions/benchmark.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/benchmark.sh b/functions/benchmark.sh index 2eb0b87..bfd5b03 100644 --- a/functions/benchmark.sh +++ b/functions/benchmark.sh @@ -13,7 +13,7 @@ then cd wrk make # move the executable to somewhere in your PATH, ex: - sudo cp wrk /usr/local/bin + cp wrk /usr/local/bin fi HEY_INSTALLED=$(which hey) @@ -23,7 +23,7 @@ then apt install -y golang go get -u github.com/rakyll/hey export GOPATH=$HOME/go - export PATH=$PATH:$GOPATH/bin + cp $GOPATH/bin/hey /usr/local/bin fi for function in "${functions[@]}"