Don't try to let patch read from unreadable or nonexisting files.

This commit is contained in:
Marc Olzheim 2004-04-14 23:25:31 +00:00
parent ca80c373bf
commit 40c88d77d8

View file

@ -104,6 +104,7 @@ then
echo "Applying local patches from ${LOCALPATCHDIR}:"
for i in "${LOCALPATCHDIR}"/*.patch
do
[ -r "${i}" ] || continue
if patch -Np0 < "${i}" >/dev/null
then
echo "${i}: OK"