OS X does not have realpath (#342)
Check that realpath is present. OS X doesn't have realpath. The RPi builds on Docker for Mac if you increase the VM size. I am using 256G for my image. See the Docker for Mac preferences.
This commit is contained in:
parent
95ba042c83
commit
a449c75fac
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,9 @@ do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Ensure that the configuration file is an absolute path
|
# Ensure that the configuration file is an absolute path
|
||||||
CONFIG_FILE=$(realpath -s "$CONFIG_FILE")
|
if test -x /usr/bin/realpath; then
|
||||||
|
CONFIG_FILE=$(realpath -s "$CONFIG_FILE")
|
||||||
|
fi
|
||||||
|
|
||||||
# Ensure that the confguration file is present
|
# Ensure that the confguration file is present
|
||||||
if test -z "${CONFIG_FILE}"; then
|
if test -z "${CONFIG_FILE}"; then
|
||||||
|
|
Loading…
Reference in a new issue