[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/calm/Owasp-BenchmarkJava/master/scripts/requireCommand.sh [Back]  [Original]

#!/usr/bin/env bash

requireCommand() {
  if ! command -v "$1" &> /dev/null
  then
    echo "$1 is required. Please install it and then try again."
    exit 1
  fi
}


Web Proxy Viewer  |  New URL  |  Original Page