[pacman-dev] [PATCH] Ignore failure to patch during autogen.sh
10 Oct
2013
10 Oct
'13
1 a.m.
patch -N ignores the previously applied patch but still returns 1. This causes a git build with a reused source directory to fail. --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index d11badc..588e63d 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)) -- 1.8.4
4124
Age (days ago)
4124
Last active (days ago)
0 comments
1 participants
participants (1)
-
Allan McRae