Bash-wrapper-functions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

A project that offers common bash wrapper functionality in form of a single function file to be sourced in the main wrapper.

Functionality:

  • Build a classpath based on the JAR content of a repository.

GitHub

https://github.com/NovaOrdis/bash-wrapper-functions

Usage

Copy bash-wrapper-functions in the bin directory and refer it as following:

 [ -f $(dirname $0)/bash-wrapper-functions ] && .  $(dirname $0)/bash-wrapper-functions || { echo "$(dirname $0)/bash-wrapper-functions not found" 1>&2; exit 1; }