summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <basile@opensource.dyc.edu>2010-09-09 10:37:20 -0400
committerAnthony G. Basile <basile@opensource.dyc.edu>2010-09-09 10:37:20 -0400
commit09428562b8889c0765b87bcdf748cf097f3b244c (patch)
tree0685574a61a1ee40d5c88434654ce87f48b5e581
parentCleaned up line numbers for 4440_selinux-avc_audit-log-curr_ip.patch (diff)
downloadhardened-patchset-09428562b8889c0765b87bcdf748cf097f3b244c.tar.gz
hardened-patchset-09428562b8889c0765b87bcdf748cf097f3b244c.tar.bz2
hardened-patchset-09428562b8889c0765b87bcdf748cf097f3b244c.zip
Prettify patching script
-rwxr-xr-xap.patch.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/ap.patch.sh b/ap.patch.sh
index 957bebd..9ad2c24 100755
--- a/ap.patch.sh
+++ b/ap.patch.sh
@@ -16,11 +16,17 @@ fi
for p in $(ls ${PATCHSET}) ; do
if [[ ${p#0000} == $p ]] ; then
+ echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
+ echo
echo $p
+ echo
patch -p 1 --dry-run < ${PATCHSET}/$p
echo "Cont?"
read n
+ echo
patch -p 1 < ${PATCHSET}/$p
+ echo
+ echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
fi
done