From 63780cc4dd9e859f1320208dbb0651dc584b53b1 Mon Sep 17 00:00:00 2001 From: Bret Comnes Date: Mon, 11 Mar 2019 14:55:30 -0700 Subject: [PATCH] Fix command substitution for binrc cache --- run-build-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-build-functions.sh b/run-build-functions.sh index ea24e48b..0a1a787c 100755 --- a/run-build-functions.sh +++ b/run-build-functions.sh @@ -436,7 +436,7 @@ install_dependencies() { if [ -n "$HUGO_VERSION" ] then echo "Installing Hugo $HUGO_VERSION" - hugoOut=$(binrc install -c $NETLIFY_CACHE_DIR/.binrc-$BINRC_VERSION hugo) + hugoOut=$(binrc install -c $NETLIFY_CACHE_DIR/.binrc-$(binrc version) hugo) if [ $? -eq 0 ] then export PATH=$(dirname $hugoOut):$PATH @@ -451,7 +451,7 @@ install_dependencies() { if [ -n "$GUTENBERG_VERSION" ] then echo "Installing Gutenberg $GUTENBERG_VERSION" - gutenbergOut=$(binrc install -c $NETLIFY_CACHE_DIR/.binrc-$BINRC_VERSION gutenberg) + gutenbergOut=$(binrc install -c $NETLIFY_CACHE_DIR/.binrc-$(binrc version) gutenberg) if [ $? -eq 0 ] then export PATH=$(dirname $gutenbergOut):$PATH