Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for Readlink (0.06 sec)

  1. buildscripts/checkdeps.sh

    	case "${KNAME}" in
    	SunOS)
    		ARCH=$(isainfo -k)
    		;;
    	esac
    }
    
    ## FIXME:
    ## In OSX, 'readlink -f' option does not exist, hence
    ## we have our own readlink -f behavior here.
    ## Once OSX has the option, below function is good enough.
    ##
    ## readlink() {
    ##     return /bin/readlink -f "$1"
    ## }
    ##
    readlink() {
    	TARGET_FILE=$1
    
    	cd $(dirname $TARGET_FILE)
    	TARGET_FILE=$(basename $TARGET_FILE)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/builder.devtoolset/fixlinks_aarch64.sh

    #
    # Re-direct all links in $1 that are relative to be canonical
    
    BASE="$1"
    find "${BASE}" -type l | \
      while read l ; do
        if [[ "$(readlink "$l")" == \.\./* ]]; then
          CANONICAL="$(readlink "$l")";
          rm "$l";
          ln -s "${CANONICAL}" "$l"
        fi
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 969 bytes
    - Viewed (0)
  3. ci/official/containers/ml_build/builder.devtoolset/fixlinks.sh

    #
    # Re-direct all links in $1 that point to /lib... to point to $1/lib... instead.
    
    BASE="$1"
    find "${BASE}" -type l | \
      while read l ; do
        if [[ "$(readlink "$l")" == /lib* ]]; then
          ORIG="$(readlink "$l")";
          rm "$l";
          ln -s "${BASE}${ORIG}" "$l"
        fi
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 984 bytes
    - Viewed (0)
  4. .teamcity/mvnw

        # readlink(1) is not available as standard on Solaris 10.
        readLink=`which readlink`
        if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
          if $darwin ; then
            javaHome="`dirname \"$javaExecutable\"`"
            javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
          else
            javaExecutable="`readlink -f \"$javaExecutable\"`"
          fi
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  5. mvnw

        # readlink(1) is not available as standard on Solaris 10.
        readLink=$(which readlink)
        if [ ! "$(expr "$readLink" : '\([^ ]*\)')" = "no" ]; then
          if $darwin; then
            javaHome="$(dirname "$javaExecutable")"
            javaExecutable="$(cd "$javaHome" && pwd -P)/javac"
          else
            javaExecutable="$(readlink -f "$javaExecutable")"
          fi
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. lib/wasm/go_js_wasm_exec

    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    SOURCE="${BASH_SOURCE[0]}"
    while [ -h "$SOURCE" ]; do
    	DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
    	SOURCE="$(readlink "$SOURCE")"
    	[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
    done
    DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
    
    # Increase the V8 stack size from the default of 984K
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 603 bytes
    - Viewed (0)
  7. common/scripts/setup_env.sh

    fi
    if [[ "${IMAGE_NAME:-}" == "" ]]; then
      IMAGE_NAME=build-tools
    fi
    
    DOCKER_GID="${DOCKER_GID:-$(grep '^docker:' /etc/group | cut -f3 -d:)}"
    
    TIMEZONE=$(readlink "$readlink_flags" /etc/localtime | sed -e 's/^.*zoneinfo\///')
    
    TARGET_OUT="${TARGET_OUT:-$(pwd)/out/${TARGET_OS}_${TARGET_ARCH}}"
    TARGET_OUT_LINUX="${TARGET_OUT_LINUX:-$(pwd)/out/linux_${TARGET_ARCH}}"
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 04:52:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. internal/disk/stat_linux.go

    					// Check if there is a parent device:
    					//   e.g. if the mount is based on /dev/nvme0n1p1, let's calculate the
    					//        real device name (nvme0n1) to get its sysfs information
    					parentDevPath, e := os.Readlink("/sys/class/block/" + devName)
    					if e == nil {
    						parentDev := filepath.Base(filepath.Dir(parentDevPath))
    						qst, err = bfs.SysBlockDeviceQueueStats(parentDev)
    					}
    				}
    				if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. test-site/activator

    realpath () {
    (
      TARGET_FILE="$1"
    
      cd "$(dirname "$TARGET_FILE")"
      TARGET_FILE=$(basename "$TARGET_FILE")
    
      COUNT=0
      while [ -L "$TARGET_FILE" -a $COUNT -lt 100 ]
      do
          TARGET_FILE=$(readlink "$TARGET_FILE")
          cd "$(dirname "$TARGET_FILE")"
          TARGET_FILE=$(basename "$TARGET_FILE")
          COUNT=$(($COUNT + 1))
      done
    
      if [ "$TARGET_FILE" == "." -o "$TARGET_FILE" == ".." ]; then
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  10. doc/godebug.md

    and other reparse points with non-default [`os.ModeType`](/pkg/os#ModeType) bits
    (such as [`os.ModeDir`](/pkg/os#ModeDir)) do not have the `ModeIrregular` bit set.
    
    Go 1.23 changed [`os.Readlink`](/pkg/os#Readlink) and [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks)
    to avoid trying to normalize volumes to drive letters, which was not always even possible.
    This behavior is controlled by the `winreadlinkvolume` setting.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top