Merge pull request from euantorano/patch-1

Remove / prefix when calling choosenim binary
This commit is contained in:
Dominik Picheta 2018-10-19 23:01:56 +01:00 committed by GitHub
commit 04c1e7c873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,10 +49,10 @@ install() {
fi
# Install Nim from desired channel.
"/$temp_prefix/$filename" $CHOOSE_VERSION --firstInstall < /dev/tty
"$temp_prefix/$filename" $CHOOSE_VERSION --firstInstall < /dev/tty
else
# TODO: Use the -y switch when choosenim gets support for it.
yes | "/$temp_prefix/$filename" $CHOOSE_VERSION --firstInstall
yes | "$temp_prefix/$filename" $CHOOSE_VERSION --firstInstall
fi
# Copy choosenim binary to Nimble bin.