Skip to content

Commit 905438d

Browse files
committed
fixed the CONFIG_PATH
1 parent 7cebc2b commit 905438d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/insert_proxy_config.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env bash
22
# insert_proxy_config.sh - run this after openapi-generator release.sh
3-
CONFIG_PATH="../python_kubernetes/kubernetes/client"
3+
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"
49

510
# Compute the full file path
611
CONFIG_FILE="$CONFIG_PATH/configuration.py"

0 commit comments

Comments
 (0)