Commit 22a61013 authored by Vincent Pelletier's avatar Vincent Pelletier

contrib/shell/kedifa_generateauth: Expand paths which end up in the config

So they are independent from PWD, but without expanding symlinks.
parent 6b482e7d
...@@ -30,8 +30,8 @@ if [ $# -ne 5 ]; then ...@@ -30,8 +30,8 @@ if [ $# -ne 5 ]; then
fi fi
kedifa_url_base="$(printf '%s\n' "$1" | sed 's:\(/generateauth\|\?auth=\)$::')" kedifa_url_base="$(printf '%s\n' "$1" | sed 's:\(/generateauth\|\?auth=\)$::')"
cafile="$2" cafile="$(realpath --no-symlinks "$2")"
crlfile="$3" crlfile="$(realpath --no-symlinks "$3")"
domain="$4" domain="$4"
config_base="$5" config_base="$5"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment