BusyBox realpath does not support -s flag, fallback to use no flags

pull/384/head
timvisee 2020-02-12 14:21:15 +01:00
parent e577677b62
commit b4bba58b76
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
1 changed files with 1 additions and 1 deletions

View File

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