From acda5ca53fa06583e2357eaa3a58d15f59c4a844 Mon Sep 17 00:00:00 2001 From: Casey Rapnicki Date: Mon, 26 Feb 2024 22:32:33 -0500 Subject: [PATCH] restore test. --- scripts/cloud-gov-remote-command.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cloud-gov-remote-command.sh b/scripts/cloud-gov-remote-command.sh index c0d94729c..cb65ce49a 100755 --- a/scripts/cloud-gov-remote-command.sh +++ b/scripts/cloud-gov-remote-command.sh @@ -3,11 +3,11 @@ application=$1 command=$2 -PATH=/var/www/vendor/drush/drush/ +drush_path=/var/www/vendor/drush/drush/ [ -z "${application}" ] || [ -z "${command}" ] && echo "Command error! Valid format: ${0} " && exit 1 echo "Running command: '$(echo ${command} | cut -d' ' -f1,2)'..." { - cf ssh ${application} -c "PATH=\${PATH}:${PATH}; ${command}" + cf ssh ${application} -c "PATH=\${PATH}:${drush_path}; ${command}" } >/dev/null 2>&1 \ No newline at end of file