Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for if (0.13 sec)

  1. common/scripts/setup_env.sh

    # testcase: "a b:c:d e"
    parse_KUBECONFIG () {
    TMPDIR=""
    if [[ "$1" =~ ([^:]*):(.*) ]]; then
      while true; do
        rematch=${BASH_REMATCH[1]}
        add_KUBECONFIG_if_exists "$rematch"
        remainder="${BASH_REMATCH[2]}"
        if [[ ! "$remainder" =~ ([^:]*):(.*) ]]; then
          if [[ -n "$remainder" ]]; then
            add_KUBECONFIG_if_exists "$remainder"
            break
          fi
        fi
      done
    else
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 19:52:28 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. src/packaging/deb/init.d/fess

    	fi
    	if [ -n "$PID_FILE" ] && [ ! -e "$PID_FILE" ]; then
    		touch "$PID_FILE" && chown "$FESS_USER":"$FESS_GROUP" "$PID_FILE"
    	fi
    
    	if [ -n "$MAX_OPEN_FILES" ]; then
    		ulimit -n $MAX_OPEN_FILES
    	fi
    
    	if [ -n "$MAX_LOCKED_MEMORY" ]; then
    		ulimit -l $MAX_LOCKED_MEMORY
    	fi
    
    	if [ -n "$MAX_MAP_COUNT" -a -f /proc/sys/vm/max_map_count ]; then
    		sysctl -q -w vm.max_map_count=$MAX_MAP_COUNT
    Shell Script
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  3. buildscripts/verify-healing.sh

    	pid3=$!
    	disown $pid3
    
    	sleep "$1"
    
    	if ! ps -p $pid1 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/dist-minio-server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	if ! ps -p $pid2 1>&2 >/dev/null; then
    		echo "server2 log:"
    		cat "${WORK_DIR}/dist-minio-server2.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	if ! ps -p $pid3 1>&2 >/dev/null; then
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.2K bytes
    - Viewed (1)
  4. buildscripts/verify-build.sh

    }
    
    function main() {
    	echo "Testing in FS setup"
    	if ! run_test_fs; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	echo "Testing in Erasure setup"
    	if ! run_test_erasure; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	echo "Testing in Distributed Erasure setup"
    	if ! run_test_dist_erasure; then
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  5. buildscripts/heal-inconsistent-versions.sh

    set -E
    set -o pipefail
    set -x
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function start_minio_4drive() {
    	start_port=$1
    
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. update-credits.sh

              of the following places: within a NOTICE text file distributed
              as part of the Derivative Works; within the Source form or
              documentation, if provided along with the Derivative Works; or,
              within a display generated by the Derivative Works, if and
              wherever such third-party notices normally appear. The contents
              of the NOTICE file are for informational purposes only and
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Aug 11 05:08:38 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  7. buildscripts/minio-upgrade.sh

    	local sum1_heal
    	sum1_heal=$(curl -s "$2" | sha256sum)
    
    	if [ "${sum1_heal}" != "${sum1}" ]; then
    		echo "mismatch expected ${sum1_heal}, got ${sum1}"
    		exit 1
    	fi
    }
    
    verify_checksum_mc() {
    	local expected
    	expected=$(mc cat "$1" | sha256sum)
    	local got
    	got=$(mc cat "$2" | sha256sum)
    
    	if [ "${expected}" != "${got}" ]; then
    		echo "mismatch - expected ${expected}, got ${got}"
    		exit 1
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  8. apache-maven/src/assembly/maven/bin/mvnyjp

    #   MAVEN_SKIP_RC   (Optional) Flag to disable loading of mavenrc files.
    # -----------------------------------------------------------------------------
    
    if [ ! -f "$YJPLIB" ]; then
      echo "Error: Unable to autodetect the YJP library location. Please set YJPLIB variable" >&2
      exit 1
    fi
    
    Shell Script
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat May 23 09:02:45 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  9. ci/official/requirements_updater/updater.sh

    # limitations under the License.
    # ==============================================================================
    
    # script to run pip-compile for each requirement.
    # if there is a change in requirements.in then all lock files will be updated
    # accordingly
    
    # All commands run relative to this directory
    cd "$(dirname "${BASH_SOURCE[0]}")"
    
    mv BUILD.bazel BUILD
    
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 15:05:45 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  10. docs/site-replication/run-multi-site-minio-idp.sh

    ./mc admin replicate status minio3
    
    sleep 10
    
    ./mc admin policy info minio1 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio2 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    ./mc admin policy info minio3 rw
    if [ $? -eq 0 ]; then
    	echo "expecting the command to fail, exiting.."
    	exit_1
    fi
    
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top