Skip to content

Commit 414e6dd

Browse files
authored
Clean package directories before build
Remove unnecessary files from package directories before building.
1 parent 6b45184 commit 414e6dd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ package_names=(gnustep-make gnustep-base pcaudiolib espeak-ng nspr spidermonkey
1010
for packagename in "${package_names[@]}"; do
1111
echo "Making $packagename package"
1212
cd mingw-w64-$packagename
13+
# Deletes everything except PKGBUILD and *.patch
1314
find . -mindepth 1 ! -name PKGBUILD ! -name '*.patch' -exec rm -rf {} +
1415
dos2unix PKGBUILD
1516
if ! makepkg -s -f --noconfirm ; then

0 commit comments

Comments
 (0)