From 7b4df2d942365adcfe332f4f0ff4f9a3b49e36f1 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Mon, 28 Oct 2019 00:03:05 -0400 Subject: makeicecat: Apply data/patches/*.patch * data/patches/.gitkeep: New file. * makeicecat: Apply patches from data/patches. Take care not to fail when no patches exist. --- makeicecat | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'makeicecat') diff --git a/makeicecat b/makeicecat index b04c731..97ee473 100644 --- a/makeicecat +++ b/makeicecat @@ -80,10 +80,12 @@ mv compare-locales $SOURCEDIR/l10n cd $SOURCEDIR -#for patch in $DATA/patches/*; do -# echo Patching with file: $patch -# patch -p1 < $patch -#done +shopt -s nullglob +for patch in $DATA/patches/*.patch; do + echo Patching with file: $patch + patch -p1 --force --no-backup-if-mismatch --input $patch +done +shopt -u nullglob cp $DATA/Changelog.IceCat $DATA/README.IceCat . -- cgit v1.2.3