Browse Source

apply_patches: automatically ignores bad patches

tmp/comercial-emacs
Kien Nguyen 4 years ago
parent
commit
9fc7ea1991
  1. 4
      patches/0002-Make-native-comp-debug-0-for-Windows.patch
  2. 2
      scripts/tools.sh

4
patches/0001-Make-native-comp-debug-0-for-Windows.patch → patches/0002-Make-native-comp-debug-0-for-Windows.patch

@ -1,6 +1,6 @@
From 48dc92422761205e40b82eac38fcf7200c1012b1 Mon Sep 17 00:00:00 2001
From 8ab79a8b30cb55c7a41fe48bc7a6002bb62be44d Mon Sep 17 00:00:00 2001
From: Kien Nguyen <kien.n.quang@gmail.com>
Date: Fri, 14 May 2021 23:18:49 +0900
Date: Sat, 15 May 2021 10:57:25 +0900
Subject: [PATCH] Make native-comp-debug 0 for Windows
---

2
scripts/tools.sh

@ -76,7 +76,7 @@ function apply_patches ()
if test -d "$source_dir"; then
echo Applying patches in $patches_dir
cd $source_dir
git apply --ignore-space-change --ignore-whitespace -v $patches_dir/*.patch
find $patches_dir/*.patch | xargs -I % git apply --ignore-space-change --ignore-whitespace --inaccurate-eof %
error=$?
fi

Loading…
Cancel
Save