BusyBox realpath does not support -s flag, fallback to use no flags
This commit is contained in:
parent
e577677b62
commit
b4bba58b76
|
@ -32,7 +32,7 @@ done
|
||||||
|
|
||||||
# Ensure that the configuration file is an absolute path
|
# Ensure that the configuration file is an absolute path
|
||||||
if test -x /usr/bin/realpath; then
|
if test -x /usr/bin/realpath; then
|
||||||
CONFIG_FILE=$(realpath -s "$CONFIG_FILE")
|
CONFIG_FILE=$(realpath -s "$CONFIG_FILE" || realpath "$CONFIG_FILE")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure that the confguration file is present
|
# Ensure that the confguration file is present
|
||||||
|
|
Loading…
Reference in New Issue
Block a user