Update install.sh

This commit is contained in:
Syrus Akbary 2019-07-11 16:23:57 -07:00 committed by GitHub
parent 0583da0ae2
commit d59c5531fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -365,12 +365,12 @@ wasmer_download() {
# determine install directory if required
if [ -z "$INSTALL_DIRECTORY" ]; then
# If WASMER_DIR is present
if [ -z "$WASMER_DIR" ]; then
INSTALL_DIRECTORY=WASMER_DIR
else
# findWasmerBinDirectory INSTALL_DIRECTORY
# If WASMER_DIR is not present
INSTALL_DIRECTORY="$HOME/.wasmer"
else
# If WASMER_DIR is present
INSTALL_DIRECTORY=WASMER_DIR
fi
fi