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:
snoe925 2019-11-11 12:23:58 -06:00 committed by XECDesign
parent 95ba042c83
commit a449c75fac

View File

@ -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