#!/bin/sh # --> get the dir of this script SOURCE="${BASH_SOURCE[0]}" # resolve $SOURCE until the file is no longer a symlink while [ -h "$SOURCE" ]; do DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null && pwd )" SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it # relative to the path where the symlink file was located done SCRIPT_DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null && pwd )" # --> set python3 env . $SCRIPT_DIR/set_py3_env.sh > /dev/null 2>&1 rm $HBS_INST_PATH/rr2/config/logging/rr2_api_get_local.json rm $HBS_INST_PATH/rr2/config/logging/rr2_api_get_remote.json rm $HBS_INST_PATH/rr2/config/logging/rr2_api_server.json rm $HBS_INST_PATH/rr2/config/logging/rr2_cli_get_local.json rm $HBS_INST_PATH/rr2/config/logging/rr2_cli_get_remote.json rm $HBS_INST_PATH/rr2/config/logging/svr_setting_logger.json