Improve output.

This commit is contained in:
Jeffrey Townsend
2017-02-21 18:43:35 +00:00
parent db19b16a48
commit 61686c5b50

View File

@@ -37,12 +37,14 @@ if [ -f "${PATCH_SERIES}" ]; then
if [[ $p = \#* ]]; then if [[ $p = \#* ]]; then
continue; continue;
fi fi
echo "*** Applying ${p}..." if [ -f "${PATCHDIR}/${p}" ]; then
echo "Applying: ${p}"
if [ -x "${PATCHDIR}/${p}" ]; then if [ -x "${PATCHDIR}/${p}" ]; then
"${PATCHDIR}/${p}" "${KERNDIR}" "${PATCHDIR}/${p}" "${KERNDIR}"
else else
patch --batch -p 1 -d ${KERNDIR} < "${PATCHDIR}/${p}" patch --batch -p 1 -d ${KERNDIR} < "${PATCHDIR}/${p}"
fi fi
fi
done done
else else
# #