We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09f0447 commit 04d45b0Copy full SHA for 04d45b0
jobs/nfsbrokerpush/templates/deploy.sh.erb
@@ -49,7 +49,7 @@ function authenticate_and_target() {
49
function create_credhub_security_group() {
50
cf create-security-group credhub_open /var/vcap/jobs/nfsbrokerpush/credhub.json
51
cf update-security-group credhub_open /var/vcap/jobs/nfsbrokerpush/credhub.json
52
- if [[ -d "/var/vcap/packages/cf-cli-6-linux" ]]; then
+ if LANG=en cf version | grep "cf version 6"; then
53
cf bind-security-group credhub_open $ORG $SPACE
54
else
55
cf bind-security-group credhub_open $ORG --space $SPACE
0 commit comments