|
|
@ -261,7 +261,7 @@ fail_trap() {
|
|
|
|
# testVersion tests the installed client to make sure it is working.
|
|
|
|
# testVersion tests the installed client to make sure it is working.
|
|
|
|
testVersion() {
|
|
|
|
testVersion() {
|
|
|
|
set +e
|
|
|
|
set +e
|
|
|
|
HELM="$(command -v $BINARY_NAME)"
|
|
|
|
HELM="$(command -v $HELM_INSTALL_DIR/$BINARY_NAME)"
|
|
|
|
if [ "$?" = "1" ]; then
|
|
|
|
if [ "$?" = "1" ]; then
|
|
|
|
echo "$BINARY_NAME not found. Is $HELM_INSTALL_DIR on your "'$PATH?'
|
|
|
|
echo "$BINARY_NAME not found. Is $HELM_INSTALL_DIR on your "'$PATH?'
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|