Browse Source

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.
pull/343/head
snoe925 1 year ago
committed by XECDesign
parent
commit
a449c75fac
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      build-docker.sh

+ 3
- 1
build-docker.sh View File

@ -31,7 +31,9 @@ do
done
# 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
if test -z "${CONFIG_FILE}"; then

Loading…
Cancel
Save