Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for elseif (0.22 sec)

  1. src/packaging/rpm/init.d/fess

    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
            echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME"
            exit 1
        fi
    }
    
    start() {
    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)
  2. src/main/assemblies/files/fess

            if [ -r "$include" ]; then
                . "$include"
                break
            fi
        done
    # ...otherwise, source the specified include.
    elif [ -r "$FESS_INCLUDE" ]; then
        . "$FESS_INCLUDE"
    fi
    
    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
    - 5.4K bytes
    - Viewed (0)
  3. bin/retry.sh

        if isatty; then
          if [ "$(uname)" == "Darwin" ]; then
            script -q -r "${tmpFile}" "${*}"
          else
            script --flush --quiet --return "${tmpFile}" --command "${*}"
          fi
        else
          # if we aren't a TTY, run directly as script will always run with a tty, which may output content that
          # we cannot display
          set -o pipefail; "$@" 2>&1 | tee "${tmpFile}"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  4. bin/build_ztunnel.sh

          DOWNLOAD_COMMAND="curl -fLSs --retry 5 --retry-delay 1 --retry-connrefused"
          return
        fi
        echo curl does not support https, will try wget for downloading files.
      else
        echo curl is not installed, will try wget for downloading files.
      fi
    
      # Try wget.
      if command -v wget > /dev/null; then
        DOWNLOAD_COMMAND="wget -qO -"
        return
      fi
      echo wget is not installed.
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. ci/official/pycpp.sh

    if [[ $TFCI_PYCPP_SWAP_TO_BUILD_ENABLE == 1 ]]; then
       tfrun bazel build $TFCI_BAZEL_COMMON_ARGS --profile "$TFCI_OUTPUT_DIR/profile.json.gz" --config="${TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX}_pycpp_test"
    else
       tfrun bazel test $TFCI_BAZEL_COMMON_ARGS --profile "$TFCI_OUTPUT_DIR/profile.json.gz" --config="${TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX}_pycpp_test"
    fi
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 06 17:29:44 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  6. src/bootstrap.bash

    cd ..
    if [ "$goos" = "$gohostos" -a "$goarch" = "$gohostarch" ]; then
    	# cross-compile for local system. nothing to copy.
    	# useful if you've bootstrapped yourself but want to
    	# prepare a clean toolchain for others.
    	true
    else
    	rm -f bin/go_${goos}_${goarch}_exec
    	mv bin/*_*/* bin
    	rmdir bin/*_*
    	rm -rf "pkg/${gohostos}_${gohostarch}" "pkg/tool/${gohostos}_${gohostarch}"
    fi
    
    rm -rf pkg/bootstrap pkg/obj .git
    
    echo ----
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  7. gradlew

            JAVACMD=$JAVA_HOME/jre/sh/java
        else
            JAVACMD=$JAVA_HOME/bin/java
        fi
        if [ ! -x "$JAVACMD" ] ; then
            die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
    
    Please set the JAVA_HOME variable in your environment to match the
    location of your Java installation."
        fi
    else
        JAVACMD=java
        if ! command -v java >/dev/null 2>&1
        then
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. ci/official/utilities/rename_and_verify_wheels.sh

      "$python" -c 'import tensorflow as tf; t1=tf.constant([1,2,3,4]); t2=tf.constant([5,6,7,8]); print(tf.add(t1,t2).shape)'
      "$python" -c 'import sys; import tensorflow as tf; sys.exit(0 if "keras" in tf.keras.__name__ else 1)'
    fi
    # VERY basic check to ensure the [and-cuda] package variant is installable.
    # Checks TFCI_BAZEL_COMMON_ARGS for "gpu" or "cuda", implying that the test is
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. ci/official/utilities/setup_macos.sh

      # that they are not substituted for their corresponding commands in shell
      # scripts. By setting "expand_aliases", we enable alias expansion in
      # non-interactive shells as well.
      shopt -s expand_aliases
    else
      echo '==TFCI==: Error: Cannot find path to grealpath or gstat'
      echo 'TF CI scripts require GNU core utilties to be installed. Please make'
      echo 'sure they are present on your system and try again.'
      exit 1
    fi
    
    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)
  10. src/main/assemblies/files/generate-thumbnail

      rm -f ${tmp_png_prefix}*png
    elif [[ x"${cmd_type}" = "ximage" ]] ; then
      check_command convert
      target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
      convert -thumbnail ${image_size} "${target_file}" "${output_file}"
    elif [[ x"${cmd_type}" = "x" ]] ; then
      echo "No filetype."
      exit 1
    else
      echo "Unsupported type: ${cmd_type}"
      exit 1
    fi
    
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jun 12 13:13:28 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top