mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-18 01:14:42 -04:00
Realpath for Linux bash-script (#331)
Bash script execute with real path of the script
This commit is contained in:
parent
80138b7cf9
commit
9773df8c15
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||
DIR="$( cd "$( dirname "$( realpath "${BASH_SOURCE[0]}" )" )" >/dev/null && pwd )"
|
||||
java -jar $DIR/Digital.jar "$1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user