From d5ff21c221e2821462adf0d642554ba09642f481 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Thu, 10 Oct 2013 10:28:44 +1000 Subject: Ignore failure to patch during autogen.sh patch -N ignores the previously applied patch but still returns 1. This causes a git build with a reused source directory to fail. Signed-off-by: Allan McRae --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index d11badcb..588e63dd 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,4 +1,4 @@ #!/bin/sh -xu autoreconf -i -(cd build-aux && patch -Np0 -i ltmain-asneeded.patch) +(cd build-aux && (patch -Np0 -i ltmain-asneeded.patch || true)) -- cgit v1.2.3-70-g09d2