From dae0301d94eae96bd4efa534c17d91d4371d57e8 Mon Sep 17 00:00:00 2001 From: grizzlyuser Date: Sun, 2 Aug 2020 21:22:16 +0300 Subject: libre/iceweasel: remove generated .git dir after cleanup Otherwise, when PGO is ON, the build fails after './mach clobber'. It looks like the build system does cleaning differently when .git dir is present. --- libre/iceweasel/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libre/iceweasel/PKGBUILD') diff --git a/libre/iceweasel/PKGBUILD b/libre/iceweasel/PKGBUILD index 6aa80a8a6..3e3cef997 100644 --- a/libre/iceweasel/PKGBUILD +++ b/libre/iceweasel/PKGBUILD @@ -298,13 +298,14 @@ END # Removing What's New tab from Developer Tools, usages are removed by libre.patch rm -rf devtools/client/whats-new - # Removing files specified in .gitignore. # Upstream tarball can contain some ignored cruft, - # including binary blobs (for example, python2). + # including binaries (for example, python3). + echo 'Removing files specified in .gitignore...' git init && git clean -dfX \ -e '!ipc/chromium/src/third_party/libevent/evconfig-private.h' \ -e '!toolkit/crashreporter/google-breakpad/src/third_party/lss/' \ -e '!third_party/python/**/*.egg-info/' + rm -rf .git } _check_build_config() { -- cgit v1.2.3