Sha256: b623c8eceb716790676f25ae20cb0488f011b1ee2ea5ab90020f0f86fc985d32

Contents?: true

Size: 488 Bytes

Versions: 3

Compression:

Stored size: 488 Bytes

Contents

#!/bin/bash
if `which docker > /dev/null`; then
  if [ $# -eq 0 ]; then
    docker run -v $PWD:/scan -it licensefinder/license_finder
  else
    escaped_params=""
    for p in "$@"; do
      escaped_params="$escaped_params \"$p\""
    done
    docker run -v $PWD:/scan -it licensefinder/license_finder /bin/bash -lc "cd /scan && $escaped_params"
  fi
else
  echo "You do not have docker installed. Please install it:"
  echo "    https://docs.docker.com/engine/installation/"
  exit 1
fi

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
license_finder-7.0.1 dlf
license_finder-7.0.0 dlf
license_finder-6.15.0 dlf