Skip to content

Commit cf03d69

Browse files
authored
Merge pull request #62 from k8s-operatorhub/fix-deploy
Add cwd to PATH in deploy.sh script
2 parents cf6c505 + 1d1cc38 commit cf03d69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deploy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ if [[ ! "$ENVIRO" =~ ^(dev|preprod|prod)$ ]]; then
99
exit
1010
fi
1111

12+
PATH="$PATH:$(pwd)/bin"
1213
mkdir -p bin
14+
1315
if ! /usr/local/bin/oc > /dev/null 2>&1 ; then
1416
echo openshift origin client not found, installing
1517
curl -#L -o openshift.tar.gz https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz

0 commit comments

Comments
 (0)