From: Michael Tremer Date: Fri, 9 Dec 2011 10:31:36 +0000 (+0100) Subject: patch: Don't break on unknwown files. Just skip them. X-Git-Tag: 0.9.19~12^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e620c728e1c9ba03370d1a3d8276b0a1c375d01e;p=pakfire.git patch: Don't break on unknwown files. Just skip them. --- diff --git a/scripts/patch b/scripts/patch index 32ddb390c..927b8803a 100755 --- a/scripts/patch +++ b/scripts/patch @@ -55,13 +55,9 @@ for patch in ${patches}; do # Default is -p1. options="${options} -p1" ;; - *.off) - # Ignore disabled patches. - continue - ;; *) - echo >&2 " ERROR: Unknown filetype: ${patch}" - exit 1 + echo >&2 " WARNING: Ignoring unknown file: ${patch}" + continue ;; esac