summaryrefslogtreecommitdiffstats
path: root/toolkit/components/pdfjs/update.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /toolkit/components/pdfjs/update.sh
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/pdfjs/update.sh')
-rwxr-xr-xtoolkit/components/pdfjs/update.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolkit/components/pdfjs/update.sh b/toolkit/components/pdfjs/update.sh
index 3673f68784..50bde30eb6 100755
--- a/toolkit/components/pdfjs/update.sh
+++ b/toolkit/components/pdfjs/update.sh
@@ -44,6 +44,9 @@ rsync -a -v --delete "$ROOT/build/mozcentral/browser/extensions/pdfjs/content/we
ls -R "$ROOT/build/mozcentral/browser/"
cp "$ROOT"/build/mozcentral/browser/locales/en-US/pdfviewer/*.ftl "$GECKO_PATH/toolkit/locales/en-US/toolkit/pdfviewer/" || true
+# Update the revision in the toolchains.yml file for the Talos tests.
+sed -i -z "s/\(mozilla-pdf\.js.*revision: \)[0-9a-f]*/\1$1/g" "$GECKO_PATH/taskcluster/kinds/fetch/toolchains.yml"
+
if [ -v PDFJS_TMPDIR ]; then
rm -rf "$PDFJS_TMPDIR"
fi \ No newline at end of file