summaryrefslogtreecommitdiffstats
path: root/src/ob-applypatches.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-04 22:50:42 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-04 22:50:42 (EDT)
commitfadefb692a7ff4312717346a1869d6fc508db177 (patch)
tree287a22b5d861cde320a9adf1befab71078df8896 /src/ob-applypatches.sh
parent510da97e4c3480f2b0eb1fe376688831843aee49 (diff)
Fix some inconsistent quoting in utilities.
Diffstat (limited to 'src/ob-applypatches.sh')
-rw-r--r--src/ob-applypatches.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ob-applypatches.sh b/src/ob-applypatches.sh
index 98aabb9..7b43d41 100644
--- a/src/ob-applypatches.sh
+++ b/src/ob-applypatches.sh
@@ -39,11 +39,11 @@ apply_patches()
{
applied='false'
- if [ -d ../patches ]; then
+ if [ -d '../patches' ]; then
# Iterate over patches ordered alphabetically by name.
- for patch in $(ls -1 ../patches | sort); do
+ for patch in $(ls -1 '../patches' | sort); do
ob_info "$(ob_get_msg 'applying_patch')" "${patch}"
- patch -N -p 1 -u -d src -i "../../patches/${patch}" || \
+ patch -N -p 1 -u -d 'src' -i "../../patches/${patch}" || \
ob_error "$(ob_get_msg 'cant_apply_patch')" "${patch}"
applied='true'
done