mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +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
|
||||
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
|
||||
|
Reference in New Issue
Block a user