summaryrefslogtreecommitdiff
path: root/libre/iceweasel/PKGBUILD
diff options
context:
space:
mode:
authorgrizzlyuser <grizzlyuser@protonmail.com>2020-08-02 21:22:16 +0300
committerbill-auger <mr.j.spam.me@gmail.com>2020-08-11 09:55:30 -0400
commitdae0301d94eae96bd4efa534c17d91d4371d57e8 (patch)
tree8182f060177112690e5bc209311170b0184356b4 /libre/iceweasel/PKGBUILD
parentee6c1ec5dfa88b636e89a4f3994cab96ee863fe4 (diff)
downloadabslibre-dae0301d94eae96bd4efa534c17d91d4371d57e8.tar.gz
abslibre-dae0301d94eae96bd4efa534c17d91d4371d57e8.tar.bz2
abslibre-dae0301d94eae96bd4efa534c17d91d4371d57e8.zip
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.
Diffstat (limited to 'libre/iceweasel/PKGBUILD')
-rw-r--r--libre/iceweasel/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
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() {