From c5b463bee915a55ef2fd34771d58149a2aa3b112 Mon Sep 17 00:00:00 2001 From: "Han Verstraete (OpenFaaS Ltd)" Date: Mon, 30 May 2022 15:43:50 +0200 Subject: [PATCH] Add comment to explain arkade full path usage Signed-off-by: Han Verstraete (OpenFaaS Ltd) --- hack/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hack/install.sh b/hack/install.sh index a24ba95..0675502 100755 --- a/hack/install.sh +++ b/hack/install.sh @@ -6,6 +6,10 @@ set -e -x -o pipefail export OWNER="openfaas" export REPO="faasd" + +# On CentOS /usr/local/bin is not included in the PATH when using sudo. +# Running arkade with sudo on CentOS requires the full path +# to the arkade binary. export ARKADE=/usr/local/bin/arkade version=""