summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-10-10 02:28:44 +0200
committerAllan McRae <allan@archlinux.org>2013-10-14 04:59:49 +0200
commitd5ff21c221e2821462adf0d642554ba09642f481 (patch)
tree1f09571e64003f6b5a215eba8fe96272d4ff9657 /autogen.sh
parentadfab9c89909c677467d390e44253a13c65aefcd (diff)
downloadpacman-d5ff21c221e2821462adf0d642554ba09642f481.tar.gz
pacman-d5ff21c221e2821462adf0d642554ba09642f481.tar.xz
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 <allan@archlinux.org>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
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))