summaryrefslogtreecommitdiff
path: root/libre/iceweasel/PKGBUILD
diff options
context:
space:
mode:
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() {