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 7cebc2b commit 905438dCopy full SHA for 905438d
scripts/insert_proxy_config.sh
@@ -1,6 +1,11 @@
1
#!/usr/bin/env bash
2
# insert_proxy_config.sh - run this after openapi-generator release.sh
3
-CONFIG_PATH="../python_kubernetes/kubernetes/client"
+SCRIPT_ROOT=$(dirname "${BASH_SOURCE}")
4
+pushd "${SCRIPT_ROOT}" > /dev/null
5
+SCRIPT_ROOT=`pwd`
6
+popd > /dev/null
7
+CLIENT_ROOT="${SCRIPT_ROOT}/../kubernetes"
8
+CONFIG_PATH="$CLIENT_ROOT/client"
9
10
# Compute the full file path
11
CONFIG_FILE="$CONFIG_PATH/configuration.py"
0 commit comments