Skip to content

Commit 1d1cc38

Browse files
committed
Add cwd to PATH in deploy.sh script
The downloaded binaries oc and kustomization can't be found when execting the scribe because of path is missing in PATH variable. Signed-off-by: Ales Raszka <araszka@redhat.com>
1 parent cf6c505 commit 1d1cc38

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)