Digital/distribution/Digital.sh
Michael Schaar 9773df8c15 Realpath for Linux bash-script (#331)
Bash script execute with real path of the script
2019-09-11 12:27:07 +02:00

4 lines
127 B
Bash
Executable File

#!/bin/bash
DIR="$( cd "$( dirname "$( realpath "${BASH_SOURCE[0]}" )" )" >/dev/null && pwd )"
java -jar $DIR/Digital.jar "$1"