Remove dependency on realpath
Realpath and readlink -f don't exist on MacOS
This commit is contained in:
parent
59a305a6c6
commit
8d3644e7d8
|
@ -1,12 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
realpath() {
|
||||
[[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"
|
||||
}
|
||||
|
||||
# Where the script is executed
|
||||
CURRENT_PATH="$(dirname "$(realpath "$0")")"
|
||||
CURRENT_PATH="$(dirname "$0")"
|
||||
|
||||
# Where to download the file
|
||||
OUTPUT_PATH="${CURRENT_PATH}/plantuml.jar"
|
||||
|
|
Loading…
Reference in New Issue