removed: realpath -s (does not exist on freebsd) (#1656)

This commit is contained in:
mmetc 2022-07-13 10:10:08 +02:00 committed by GitHub
parent 9fac14488a
commit fa35e8c0ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ setup_file() {
export MOCK_URL
PLUGIN_DIR=$(config_get '.config_paths.plugin_dir')
# could have a trailing slash
PLUGIN_DIR=$(realpath -s "${PLUGIN_DIR}")
PLUGIN_DIR=$(realpath "${PLUGIN_DIR}")
export PLUGIN_DIR
# https://mikefarah.gitbook.io/yq/operators/env-variable-operators

View file

@ -8,7 +8,7 @@ setup_file() {
PLUGIN_DIR=$(config_get '.config_paths.plugin_dir')
# could have a trailing slash
PLUGIN_DIR=$(realpath -s "${PLUGIN_DIR}")
PLUGIN_DIR=$(realpath "${PLUGIN_DIR}")
export PLUGIN_DIR
PROFILES_PATH=$(config_get '.api.server.profiles_path')