prepare-root.sh: use realpath for BASEOUTDIR
This commit is contained in:
parent
8c1cc38721
commit
449281016b
|
@ -145,7 +145,7 @@ done
|
||||||
[[ $EXCLUDELIST ]] || [[ -f excludelist.txt ]] && EXCLUDELIST=$(<excludelist.txt)
|
[[ $EXCLUDELIST ]] || [[ -f excludelist.txt ]] && EXCLUDELIST=$(<excludelist.txt)
|
||||||
NAME=${NAME:-"FedoraBook"}
|
NAME=${NAME:-"FedoraBook"}
|
||||||
RELEASEVER=${RELEASEVER:-$VERSION_ID}
|
RELEASEVER=${RELEASEVER:-$VERSION_ID}
|
||||||
BASEOUTDIR=${BASEOUTDIR:-"$CURDIR"}
|
BASEOUTDIR=$(realpath ${BASEOUTDIR:-"$CURDIR"})
|
||||||
CRT=${CRT:-${NAME}.crt}
|
CRT=${CRT:-${NAME}.crt}
|
||||||
REPOSD=${REPOSD:-/etc/yum.repos.d}
|
REPOSD=${REPOSD:-/etc/yum.repos.d}
|
||||||
STATEDIR=${STATEDIR:-"${BASEDIR}/${NAME}"}
|
STATEDIR=${STATEDIR:-"${BASEDIR}/${NAME}"}
|
||||||
|
|
Loading…
Reference in a new issue