Fix sed usage to expand variables
This commit is contained in:
parent
8d9e4191ed
commit
cd6f177bca
@ -12,8 +12,8 @@ cd ..
|
||||
# Build and copy the StandaloneViewer into the static directory
|
||||
echo $DEPLOY_PRIME_URL
|
||||
cd OHIFViewer-react
|
||||
export ROOT_URL=$DEPLOY_PRIME_URL:/viewer/
|
||||
sed -i 's,https://docs.ohif.org/viewer,${ROOT_URL},g' package.json
|
||||
export ROOT_URL=$DEPLOY_PRIME_URL/viewer/
|
||||
sed -i "s,https://docs.ohif.org/viewer,${ROOT_URL},g" package.json
|
||||
cat package.json
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
Loading…
Reference in New Issue
Block a user