From 5487622aeec7c48c51043e41e29aa78ec63989d9 Mon Sep 17 00:00:00 2001 From: "ben.freshwater" Date: Fri, 12 Jun 2020 17:00:34 +0100 Subject: [PATCH] Fixes bash command error when DESTDIR is a non-path directory --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index cac9c1989..613dfbe49 100755 --- a/install.sh +++ b/install.sh @@ -56,7 +56,7 @@ curl -sL --retry 3 "${RELEASE_URL}" | tar zx --strip 1 echo "Installing to $DESTDIR" install circleci "$DESTDIR" -command -v circleci +command -v "$DESTDIR"circleci # Delete the working directory when the install was successful. rm -r "$SCRATCH"