mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
use standard base_path variable (#1185)
This commit is contained in:
committed by
Cilibiu Bogdan
parent
d5afd22f26
commit
903c9badcf
@@ -66,9 +66,9 @@ if [[ $ACSURL ]]; then
|
|||||||
cat /tmp/app.config.json > ./app.config.json
|
cat /tmp/app.config.json > ./app.config.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $BASEPATH ]]; then
|
if [[ $BASE_PATH ]]; then
|
||||||
replace="\/"
|
replace="\/"
|
||||||
encoded=${BASEPATH//\//$replace}
|
encoded=${BASE_PATH//\//$replace}
|
||||||
sed -i s%href=\"/\"%href=\""$encoded"\"%g /tmp/index.html && \
|
sed -i s%href=\"/\"%href=\""$encoded"\"%g /tmp/index.html && \
|
||||||
cat /tmp/index.html > ./index.html
|
cat /tmp/index.html > ./index.html
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user