use standard base_path variable (#1185)

This commit is contained in:
Denys Vuika 2019-08-19 08:01:44 +01:00 committed by Cilibiu Bogdan
parent d5afd22f26
commit 903c9badcf

View File

@ -66,9 +66,9 @@ if [[ $ACSURL ]]; then
cat /tmp/app.config.json > ./app.config.json
fi
if [[ $BASEPATH ]]; then
if [[ $BASE_PATH ]]; then
replace="\/"
encoded=${BASEPATH//\//$replace}
encoded=${BASE_PATH//\//$replace}
sed -i s%href=\"/\"%href=\""$encoded"\"%g /tmp/index.html && \
cat /tmp/index.html > ./index.html
fi