Skip to contentSkip to conversation

apply-patches.sh: avoid reversed/already applied patches

PATCH New Gustavo Zacarias 2 participants 2 messages Sep 17, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apply-patches.sh: avoid reversed/already applied patches

Disable reversed/already applied patches fallout from commit 5871b791995ebe295db7dca608afe3f293ce8953
Reverse patches are bad, they may unfix things with version bumps and just sneak under the radar with pure batch mode.

---
 support/scripts/apply-patches.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/scripts/apply-patches.sh +1 -1
index 1ebaea9..ff72b45 100755
@@ -84,7 +84,7 @@ function apply_patch {
 	exit 1
     fi
     echo $patch >> ${builddir}/.applied_patches_list
-    ${uncomp} "${path}/$patch" | patch -g0 -p1 -E -d "${builddir}" -t
+    ${uncomp} "${path}/$patch" | patch -g0 -p1 -E -d "${builddir}" -t -N
     if [ $? != 0 ] ; then
         echo "Patch failed!  Please fix ${patch}!"
 	exit 1
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 1/1 apply-patches.sh: avoid reversed/already applied patches

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Disable reversed/already applied patches fallout from commit Gustavo> 5871b791995ebe295db7dca608afe3f293ce8953
Gustavo> Reverse patches are bad, they may unfix things with version bumps and Gustavo> just sneak under the radar with pure batch mode.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard