From b4bba58b76edc93f86ac3644709568765cf6ae33 Mon Sep 17 00:00:00 2001 From: timvisee Date: Wed, 12 Feb 2020 14:21:15 +0100 Subject: [PATCH] BusyBox realpath does not support -s flag, fallback to use no flags --- build-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-docker.sh b/build-docker.sh index 79b68d4..82fa7e1 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -32,7 +32,7 @@ done # Ensure that the configuration file is an absolute path if test -x /usr/bin/realpath; then - CONFIG_FILE=$(realpath -s "$CONFIG_FILE") + CONFIG_FILE=$(realpath -s "$CONFIG_FILE" || realpath "$CONFIG_FILE") fi # Ensure that the confguration file is present