2021-07-30 09:28:36 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
rm -rf ./process-tarball-dir
|
|
|
|
mkdir ./process-tarball-dir
|
|
|
|
tar -xJf $1 --directory process-tarball-dir
|
|
|
|
|
|
|
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/conformance-checkers/html-rdfa/0030-isvalid.html
|
|
|
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/conformance-checkers/html-rdfa/0008-isvalid.html
|
2021-08-03 08:17:57 +00:00
|
|
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/conformance-checkers/html-rdfalite/0030-isvalid.html
|
2021-07-30 09:28:36 +00:00
|
|
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/css/css-ui/support/cursors/woolly-64.svg
|
|
|
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/css/css-ui/support/cursors/woolly.svg
|
|
|
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/conformance-checkers/html-rdfa/0230-novalid.html
|
|
|
|
rm -vf ./process-tarball-dir/*/testing/web-platform/tests/conformance-checkers/html-rdfa/0231-isvalid.html
|
|
|
|
rm -vf ./process-tarball-dir/*/layout/inspector/tests/chrome/test_fontVariationsAPI.css
|
2024-10-02 09:09:33 +00:00
|
|
|
# A forbidden code point was found in:
|
|
|
|
rm -vf ./process-tarball-dir/*/mobile/android/android-components/components/browser/errorpages/src/main/res/values-ar/strings.xml
|
|
|
|
rm -vf ./process-tarball-dir/*/mobile/android/android-components/components/feature/addons/src/main/res/values-ur/strings.xml
|
|
|
|
rm -vf ./process-tarball-dir/*/third_party/webkit/PerformanceTests/Speedometer3/resources/editors/dist/assets/codemirror-521de7ab.js
|
|
|
|
rm -vf ./process-tarball-dir/*/third_party/python/pip/pip-24.0.dist-info/AUTHORS.txt
|
2021-07-30 09:28:36 +00:00
|
|
|
|
|
|
|
processed_tarball=${1/source/processed-source}
|
|
|
|
|
|
|
|
cd ./process-tarball-dir
|
|
|
|
tar -cf - ./* | xz -9 -T 0 -f > $processed_tarball
|
|
|
|
mv $processed_tarball ..
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
rm -rf ./process-tarball-dir
|