summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-07-31 21:47:50 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-07-31 21:47:50 (EDT)
commitafa45e1f73545185f668e0ab5d50fa04d7dca4da (patch)
tree12a367353454845385bd29ca4966ea379fcdde9e
parent9904d628f4676c4ad440190805822c205c911f42 (diff)
Add whitespace to oh-applypatches.
-rw-r--r--src/oh-applypatches.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/oh-applypatches.sh b/src/oh-applypatches.sh
index 62f9f87..637c1d0 100644
--- a/src/oh-applypatches.sh
+++ b/src/oh-applypatches.sh
@@ -37,6 +37,7 @@ main()
apply_patches()
{
applied=false
+
if [ -d ../patches ]; then
# Iterate over patches ordered alphabetically by name.
for patch in $(ls -1 ../patches | sort); do
@@ -46,6 +47,7 @@ apply_patches()
applied=true
done
fi
+
${applied} || oh_info "${oh_str_no_patches}"
}