mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-25 02:12:13 +00:00
Update install.sh
This commit is contained in:
parent
0583da0ae2
commit
d59c5531fd
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user