From bef2dc8fff61eb52e4f606f2d683edfad9abd582 Mon Sep 17 00:00:00 2001 From: usmcfiredog <45340804+usmcfiredog@users.noreply.github.com> Date: Tue, 5 Feb 2019 18:00:23 -0800 Subject: [PATCH] added | tr -d ',' to resolve the syntax There is a syntax error when running the script. Added the fix as stated in issue #339 --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index f05b9ba..b99c411 100755 --- a/build.sh +++ b/build.sh @@ -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."