diff --git a/scripts/cloud-gov-remote-command.sh b/scripts/cloud-gov-remote-command.sh index f263d53cd..aa26211e2 100755 --- a/scripts/cloud-gov-remote-command.sh +++ b/scripts/cloud-gov-remote-command.sh @@ -9,5 +9,5 @@ PATH=$PATH:/home/vcap/app/php/bin:/home/vcap/app/vendor/drush/drush echo "Running command: '$(echo ${command} | cut -d' ' -f1,2)'..." { - cf ssh ${application} -c "PATH=${PATH}; ${command}" + cf ssh ${application} -c "${command}" } >/dev/null 2>&1 \ No newline at end of file