Improve output.

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

View File

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