summaryrefslogtreecommitdiffstats
path: root/http/palemoon/PRE_BUILD
blob: b6c1b9f127169613fb26b3b1c4ae3e85bb4389bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cd "${BUILD_DIRECTORY}" &&
verify_file &&

7z x "${SOURCE_CACHE}/${SOURCE}" > /dev/null &&

cd "${SOURCE_DIRECTORY}" &&

# resurrect permissions not stored by 7zip
find . -type d -exec chmod 755 '{}' \; &&
find . -type f -exec chmod 644 '{}' \; &&
find build/autoconf -type f -not -name '*.m4' -exec chmod +x '{}' \; &&
chmod +x python/mozbuild/mozbuild/mozconfig_loader &&

if is_depends_enabled $SPELL cairo; then
  patch -p0 < "${SPELL_DIRECTORY}/cairo-system.patch"
fi