changeset 71:24deb8d5a0d4

fix regex
author Alain Mazy <am@orthanc.team>
date Thu, 17 Apr 2025 17:01:15 +0200
parents 4dbc92d52306
children d920647cff55
files Resources/CreateOHIFDist/build.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CreateOHIFDist/build.sh	Thu Apr 17 16:22:23 2025 +0200
+++ b/Resources/CreateOHIFDist/build.sh	Thu Apr 17 17:01:15 2025 +0200
@@ -38,7 +38,7 @@
 
 # patch files where the PUBLIC_URL was not taken into account
 # Note that, for the microscopy, this is currently not working: https://github.com/OHIF/Viewers/issues/4906
-sed -i 's|\'/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js|\'./dicom-microscopy-viewer/dicomMicroscopyViewer.min.js|g' /tmp/$1/platform/app/dist/app.bundle.*.js
+sed -i "s|'/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js|'./dicom-microscopy-viewer/dicomMicroscopyViewer.min.js|g" /tmp/$1/platform/app/dist/app.bundle.*.js
 sed -i 's|"/dicom-microscopy-viewer|"./dicom-microscopy-viewer|g' /tmp/$1/platform/app/dist/dicom-microscopy-viewer/dicomMicroscopyViewer.min.js
 sed -i 's|"/dicom-microscopy-viewer|"./dicom-microscopy-viewer|g' /tmp/$1/platform/app/dist/dicom-microscopy-viewer/index.worker.min.worker.js
 sed -i 's|"/assets/android-chrome-|"./assets/android-chrome-|g' /tmp/$1/platform/app/dist/manifest.json