Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for realpath (0.15 sec)

  1. ci/official/utilities/setup_macos.sh

    #
    
    # Mac version of Core utilities differ in usage. Since our scripts are written
    # with the GNU style, we need to set GNU utilities to be default on Mac.
    if [[ -n "$(which grealpath)" ]] &&  [[ -n "$(which gstat)" ]]; then
      alias realpath=grealpath
      alias stat=gstat
      # By default, aliases are only expanded in interactive shells, which means
      # that they are not substituted for their corresponding commands in shell
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:23:28 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. ci/official/utilities/setup.sh

    # above the location of this file (setup.sh). We could also use "git rev-parse
    # --show-toplevel", but that wouldn't work for non-git repos (like if someone
    # downloaded TF as a zip archive).
    export TFCI_GIT_DIR=$(cd $(dirname "$0"); realpath ../../)
    cd "$TFCI_GIT_DIR"
    
    # "TFCI" may optionally be set to the name of an env-type file with TFCI
    # variables in it, OR may be left empty if the user has already exported the
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
Back to top