diff options
| -rwxr-xr-x | build-docker.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build-docker.sh b/build-docker.sh index 583bf6a..79b68d4 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -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 |
