diff options
author | Allan McRae <allan@archlinux.org> | 2013-10-10 10:28:44 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-10-14 12:59:49 +1000 |
commit | d5ff21c221e2821462adf0d642554ba09642f481 (patch) | |
tree | 1f09571e64003f6b5a215eba8fe96272d4ff9657 | |
parent | adfab9c89909c677467d390e44253a13c65aefcd (diff) |
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>
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |