- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for replace_drive_letter_with_prefix (0.11 sec)
-
ci/official/utilities/windows.sh
# Thus, the drive letter is replaced with the passed prefix. # If no prefix is passed, by default, it's replaced with C:\, in case it's # something else (ex. T:), which is a volume used in internal CI. function replace_drive_letter_with_prefix () { local path_prefix if [[ -z "$2" ]]; then path_prefix="C:" else path_prefix="$2" fi sed -E "s|^[a-zA-Z]:|${path_prefix}|g" <<< "$1"
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Jan 09 18:37:25 UTC 2025 - 1.2K bytes - Viewed (0) -
ci/official/pycpp.sh
# ============================================================================== source "${BASH_SOURCE%/*}/utilities/setup.sh" if [[ `uname -s | grep -P '^MSYS_NT'` ]]; then PROFILE_JSON_PATH=$(replace_drive_letter_with_prefix "$TFCI_OUTPUT_WIN_DOCKER_DIR") PROFILE_JSON_PATH="$PROFILE_JSON_PATH/profile.json.gz" else PROFILE_JSON_PATH="$TFCI_OUTPUT_DIR/profile.json.gz" fi
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Jan 09 18:37:25 UTC 2025 - 1.9K bytes - Viewed (0) -
ci/official/utilities/setup_docker.sh
is_windows=true else is_windows=false fi WORKING_DIR="$TFCI_GIT_DIR" if [[ "$is_windows" == true ]]; then env_file=$(cygpath -m $env_file) WORKING_DIR=$(replace_drive_letter_with_prefix "$TFCI_GIT_DIR" "$TFCI_OUTPUT_WIN_DOCKER_DIR") echo "GCE_METADATA_HOST=$IP_ADDR" >> $env_file fi docker run $TFCI_DOCKER_ARGS --name tf -w "$WORKING_DIR" -itd --rm \
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Jan 09 18:37:25 UTC 2025 - 2.6K bytes - Viewed (0)