1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-12 04:15:06 -05:00

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>
This commit is contained in:
Allan McRae 2013-10-10 10:28:44 +10:00
parent adfab9c899
commit d5ff21c221

View File

@ -1,4 +1,4 @@
#!/bin/sh -xu #!/bin/sh -xu
autoreconf -i autoreconf -i
(cd build-aux && patch -Np0 -i ltmain-asneeded.patch) (cd build-aux && (patch -Np0 -i ltmain-asneeded.patch || true))