summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-09 21:49:21 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-09 21:49:21 (EDT)
commit760899d0aeace7a433676d6f58804017c1d5bdf1 (patch)
tree98663ef05f7a722b5b5a69e24c3edc5be6bc6227 /src
parentbf23dece9f63633a751b8c7d6e16f07f5d59071e (diff)
Fix patch pathnames.
Diffstat (limited to 'src')
-rw-r--r--src/ob-applypatches.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ob-applypatches.sh b/src/ob-applypatches.sh
index 37a8cc3..774f13e 100644
--- a/src/ob-applypatches.sh
+++ b/src/ob-applypatches.sh
@@ -48,6 +48,7 @@ apply_patches()
LANG='POSIX'
for patch in '../patches/'*; do
LANG="${orig_lang}"
+ patch="${patch#../patches/}"
ob_info "$(ob_get_msg 'applying_patch')" "${patch}"
patch -N -p 1 -u -d 'src' -i "../../patches/${patch}" || \
ob_error "$(ob_get_msg 'cant_apply_patch')" "${patch}"