Fix realpath to allow DeepSpeech version extraction

Fixes #1826
This commit is contained in:
Alexandre Lissy 2019-01-09 15:26:42 +01:00
parent 48ad71142b
commit 3e8c4afb03

View File

@ -1,8 +1,8 @@
#!/bin/sh #!/bin/sh
if [ `uname` = "Darwin" ]; then if [ `uname` = "Darwin" ]; then
export PATH="${TASKCLUSTER_TASK_DIR}/homebrew/opt/coreutils/libexec/gnubin:${PATH}" export PATH="/Users/build-user/TaskCluster/Workdir/tasks/tc-workdir/homebrew/opt/coreutils/libexec/gnubin:${PATH}"
fi; fi
GIT_DIR="$(realpath "$(dirname "$(realpath "$0")")/../.git/")" GIT_DIR="$(realpath "$(dirname "$(realpath "$0")")/../.git/")"
if [ ! -d "${GIT_DIR}" ]; then if [ ! -d "${GIT_DIR}" ]; then