Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 75 for if (0.11 sec)

  1. common/scripts/report_build_info.sh

    #   limitations under the License.
    
    if BUILD_GIT_REVISION=$(git rev-parse HEAD 2> /dev/null); then
      if [[ -z "${IGNORE_DIRTY_TREE}" ]] && [[ -n "$(git status --porcelain 2>/dev/null)" ]]; then
        BUILD_GIT_REVISION=${BUILD_GIT_REVISION}"-dirty"
      fi
    else
      BUILD_GIT_REVISION=unknown
    fi
    
    # Check for local changes
    tree_status="Clean"
    if [[ -z "${IGNORE_DIRTY_TREE}" ]] && ! git diff-index --quiet HEAD --; then
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. buildscripts/checkdeps.sh

    		exit 1
    		;;
    	esac
    }
    
    assert_check_golang_env() {
    	if ! which go >/dev/null 2>&1; then
    		echo "Cannot find go binary in your PATH configuration, please refer to Go installation document at https://golang.org/doc/install"
    		exit 1
    	fi
    
    	installed_go_version=$(go version | sed 's/^.* go\([0-9.]*\).*$/\1/')
    	if ! check_minimum_version "${GO_VERSION}" "${installed_go_version}"; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  3. buildscripts/verify-healing-with-root-disks.sh

    #!/bin/bash -e
    
    set -E
    set -o pipefail
    set -x
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    WORK_DIR="$(mktemp -d)"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    function start_minio() {
    	start_port=$1
    
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. ci/official/utilities/generate_index_html.sh

    <ul>
    <li>Job name: $KOKORO_JOB_NAME</li>
    <li>Job pool: $KOKORO_JOB_POOL</li>
    <li>Job ID: $KOKORO_BUILD_ID</li>
    <li>Current HEAD Piper Changelist, if any: cl/${KOKORO_PIPER_CHANGELIST:-not available}</li>
    <li>Pull Request Number, if any: ${KOKORO_GITHUB_PULL_REQUEST_NUMBER_tensorflow:- none}</li>
    <li>Pull Request Link, if any: <a href="$KOKORO_GITHUB_PULL_REQUEST_URL_tensorflow">${KOKORO_GITHUB_PULL_REQUEST_URL_tensorflow:-none}</a></li>
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Sep 29 20:26:13 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/test/resources/run.sh

    #!/bin/bash
    
    touch $(ls -d ./fess-*/logs)/fess-crawler.log
    tail -f ./fess-*/logs/*.log &
    
    mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201"
    ret=$?
    
    if [ $ret != 0 ] ; then
      for f in `find ./target -type f | grep surefire-reports | grep -v /TEST-` ; do
        cat $f
      done
    fi
    
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Feb 10 03:25:34 GMT 2024
    - 353 bytes
    - Viewed (0)
  6. ci/official/utilities/get_versions.sh

    # tensorflow/core/public/version.h and tools/pip_package/setup.py.
    #
    # These variables aren't available by default. Scripts must source this file
    # explicitly, *after* checking if update_version.py needs to be run for a
    # nightly job. update_version.py affects TF_VER_SUFFIX, TF_VER_PYTHON, and
    # TF_VER_FULL.
    
    # Note: in awk, the command '/search/ {commands}' applies the commands to any line that
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. tests/tests_all.sh

    #!/bin/bash -e
    
    dialects=("sqlite" "mysql" "postgres" "sqlserver" "tidb")
    
    if [[ $(pwd) == *"gorm/tests"* ]]; then
      cd ..
    fi
    
    if [ -d tests ]
    then
      cd tests
      go get -u -t ./...
      go mod download
      go mod tidy
      cd ..
    fi
    
    # SqlServer for Mac M1
    if [[ -z $GITHUB_ACTION ]]; then
      if [ -d tests ]
      then
        cd tests
        if [[ $(uname -a) == *" arm64" ]]; then
    Shell Script
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  8. bin/init.sh

    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${TARGET_OUT_LINUX:-}" == "" ]]; then
      echo "Environment variables not set. Make sure you run through the makefile (\`make init\`) rather than directly."
      exit 1
    fi
    
    # Setup arch suffix for envoy binary. For backwards compatibility, amd64 has no suffix.
    if [[ "${TARGET_ARCH}" == "amd64" ]]; then
    	ISTIO_ENVOY_ARCH_SUFFIX=""
    else
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 25 19:11:31 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/packaging/rpm/init.d/fess

    lockfile=/var/lock/subsys/$prog
    
    # backwards compatibility for old config sysconfig files, pre 0.90.1
    if [ -n $USER ] && [ -z $FESS_USER ] ; then 
       FESS_USER=$USER
    fi
    
    checkJava() {
        if [ -x "$JAVA_HOME/bin/java" ]; then
            JAVA="$JAVA_HOME/bin/java"
        else
            JAVA=`which java`
        fi
    
        if [ ! -x "$JAVA" ]; then
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 3.7K bytes
    - Viewed (1)
  10. docs/distributed/decom-encrypted-sse-s3.sh

    expanded_policy_count=$(./mc admin policy list myminio/ | wc -l)
    
    if [ $user_count -ne $expanded_user_count ]; then
    	echo "BUG: original user count differs from expanded setup"
    	exit 1
    fi
    
    if [ $policy_count -ne $expanded_policy_count ]; then
    	echo "BUG: original policy count  differs from expanded setup"
    	exit 1
    fi
    
    ./mc version info myminio/versioned | grep -q "versioning is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top