Fix sed usage to expand variables

This commit is contained in:
Erik Ziegler committed 2018-12-17 22:21:30 +01:00
1 parent 8d9e4191ed
commit cd6f177bca
1 file changed
+2 -2
+2 -2
View File
@@ -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