diff options
Diffstat (limited to 'toolkit/components/pdfjs/update.sh')
-rwxr-xr-x | toolkit/components/pdfjs/update.sh | 3 |
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 |