Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for elseif (0.21 sec)

  1. common/scripts/setup_env.sh

        # Target explicitly set
        :
    elif [[ ${LOCAL_ARCH} == x86_64 ]]; then
        TARGET_ARCH=amd64
    elif [[ ${LOCAL_ARCH} == armv8* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == arm64* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == aarch64* ]]; then
        TARGET_ARCH=arm64
    elif [[ ${LOCAL_ARCH} == armv* ]]; then
        TARGET_ARCH=arm
    elif [[ ${LOCAL_ARCH} == s390x ]]; then
        TARGET_ARCH=s390x
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/packaging/deb/init.d/fess

    			--retry forever/TERM/20 > /dev/null
    		if [ $? -eq 1 ]; then
    			log_progress_msg "$DESC is not running but pid file exists, cleaning up"
    		elif [ $? -eq 3 ]; then
    			PID="`cat $PID_FILE`"
    			log_failure_msg "Failed to stop $DESC (pid $PID)"
    			exit 1
    		fi
    		rm -f "$PID_FILE"
    	else
    		log_progress_msg "(not running)"
    	fi
    	log_end_msg 0
    	;;
      status)
    	status_of_proc -p $PID_FILE fess fess && exit 0 || exit $?
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    __init__() {
    	if which curl &>/dev/null; then
    		echo "curl is already installed"
    	else
    		echo "Installing curl:"
    		sudo apt install curl -y
    	fi
    
    	export GOPATH=/tmp/gopath
    	export PATH="${PATH}":"${GOPATH}"/bin
    
    	if which mc &>/dev/null; then
    		echo "mc is already installed"
    	else
    		echo "Installing mc:"
    		go install github.com/minio/mc@latest
    	fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. common/scripts/report_build_info.sh

    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
      tree_status="Modified"
    fi
    
    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)
  5. buildscripts/checkdeps.sh

    ## }
    ##
    check_minimum_version() {
    	IFS='.' read -r -a varray1 <<<"$1"
    	IFS='.' read -r -a varray2 <<<"$2"
    
    	for i in "${!varray1[@]}"; do
    		if [[ ${varray1[i]} -lt ${varray2[i]} ]]; then
    			return 0
    		elif [[ ${varray1[i]} -gt ${varray2[i]} ]]; then
    			return 1
    		fi
    	done
    
    	return 0
    }
    
    assert_is_supported_arch() {
    	case "${ARCH}" in
    	x86_64 | amd64 | aarch64 | ppc64le | arm* | s390x | loong64 | loongarch64)
    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)
  6. tests/tests_all.sh

          SQLCMDPASSWORD=LoremIpsum86 sqlcmd -U sa -S localhost:9930 -Q "IF USER_ID (N'gorm') IS NULL CREATE USER gorm FROM LOGIN gorm; ALTER SERVER ROLE sysadmin ADD MEMBER [gorm];" > /dev/null || true
        else
          docker-compose start
        fi
        cd ..
      fi
    fi
    
    
    for dialect in "${dialects[@]}" ; do
      if [ "$GORM_DIALECT" = "" ] || [ "$GORM_DIALECT" = "${dialect}" ]
      then
        echo "testing ${dialect}..."
    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)
  7. bin/init.sh

      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
    	ISTIO_ENVOY_ARCH_SUFFIX="-${TARGET_ARCH}"
    fi
    
    # Populate the git version for istio/proxy (i.e. Envoy)
    PROXY_REPO_SHA="${PROXY_REPO_SHA:-$(grep PROXY_REPO_SHA istio.deps  -A 4 | grep lastStableSHA | cut -f 4 -d '"')}"
    
    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)
  8. misc/ios/clangwrap.sh

    # To select a specific SDK, run 'xcodebuild -showsdks'
    # to see the available SDKs and replace iphoneos with one of them.
    if [ "$GOARCH" == "arm64" ]; then
    	SDK=iphoneos
    	PLATFORM=ios
    	CLANGARCH="arm64"
    else
    	SDK=iphonesimulator
    	PLATFORM=ios-simulator
    	CLANGARCH="x86_64"
    fi
    
    SDK_PATH=`xcrun --sdk $SDK --show-sdk-path`
    export IPHONEOS_DEPLOYMENT_TARGET=5.1
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 02 16:48:07 GMT 2021
    - 626 bytes
    - Viewed (0)
  9. .github/workflows/multipart/migrate.sh

    		exit 1
    	else
    		echo "Outputs are inconsistent. Waiting for $wait_interval seconds (attempt $attempt/$max_wait_attempts)."
    		sleep $wait_interval
    	fi
    
    	((attempt++))
    done
    
    status=$(./mc admin group info site1 site-replication-issue-group --json | jq .groupStatus | tr -d '"')
    
    if [[ $status == "enabled" ]]; then
    	echo "Success"
    else
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. common/scripts/lint_go.sh

    # limitations under the License.
    
    if [[ "${ARTIFACTS}" != "" ]]; then
      golangci-lint run -v -c ./common/config/.golangci.yml --out-format colored-line-number,junit-xml:"${ARTIFACTS}"/junit-lint.xml
    else
      golangci-lint run -v -c ./common/config/.golangci.yml
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 26 21:57:53 GMT 2022
    - 1.2K bytes
    - Viewed (0)
Back to top