diff --git a/hack/install_devconsole/consoledeveloper.sh b/hack/install_devconsole/consoledeveloper.sh index 57b902d..b299712 100755 --- a/hack/install_devconsole/consoledeveloper.sh +++ b/hack/install_devconsole/consoledeveloper.sh @@ -1,7 +1,11 @@ #!/bin/bash set +x -cd $(dirname $(readlink -f $0)) +function pathname() { + DIR="${1%/*}" + (cd "$DIR" && echo "$(pwd -P)") +} +cd $(pathname $0) oc apply -f ./yamls/unmanage.yaml oc scale --replicas 0 deployment console-operator --namespace openshift-console-operator