added | tr -d ',' to resolve the syntax

There is a syntax error when running the script. Added the fix as stated in issue #339
This commit is contained in:
usmcfiredog 2019-02-05 18:00:23 -08:00 committed by GitHub
parent ad11cefb4e
commit bef2dc8fff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ if compare_versions $(vagrant plugin list | grep 'vagrant-vmware' | cut -d' ' -f
providers="vmware $providers"
fi
if compare_versions $(vagrant plugin list | grep 'vagrant-reload' | cut -d' ' -f2 | tr -d '(' | tr -d ')') $min_vagrantreload_ver false; then
if compare_versions $(vagrant plugin list | grep 'vagrant-reload' | cut -d' ' -f2 | tr -d '(' | tr -d ')' | tr -d ',') $min_vagrantreload_ver false; then
echo 'Compatible version of vagrant-reload plugin was found.'
else
echo "Compatible version of vagrant-reload plugin was not found."