Skip to content

Commit

Permalink
fix(install): create outprefix if it does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
G4Vi committed Jun 4, 2024
1 parent 88d30c6 commit bd06bf2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/get-extism.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ else
reply=y
fi
if [ "$reply" = "y" ] || [ "$reply" = "Y" ] || [ "$reply" = "yes" ]; then
print "Creating $out_prefix if it doesn't exist"
$_sudo mkdir -p "$out_prefix"
if [ "$use_go" = "y" ]; then
print "Installing using go install"
GOOS=$os GOARCH=$arch go install "github.com/extism/cli/extism@$version" || err "Unable to install from source, make sure go is installed"
Expand Down

0 comments on commit bd06bf2

Please sign in to comment.