From 7bee600f4f84d4785659a2bbc6aec1cbd4fed325 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Tue, 3 Dec 2019 17:46:51 -0800 Subject: [PATCH] Attempt to fix syntax error --- resources/scripts/cmd-proxy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/scripts/cmd-proxy.sh b/resources/scripts/cmd-proxy.sh index 64d9c23..dcf4e96 100755 --- a/resources/scripts/cmd-proxy.sh +++ b/resources/scripts/cmd-proxy.sh @@ -5,9 +5,9 @@ # ARCH is anything other than "arm32," then it simply executes the commands # on the local system, rather than in a container. -php_version=${TRAVIS_PHP_VERSION:-$(php -r "echo phpversion();")} -php_version=${php_version%.*} -architecture=${ARCH:-${TRAVIS_CPU_ARCH:-$(uname -m)}} +php_version="${TRAVIS_PHP_VERSION:-$(php -r "echo phpversion();")}" +php_version="${php_version%.*}" +architecture="${ARCH:-${TRAVIS_CPU_ARCH:-$(uname -m)}}" cmd_proxy=""