summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}"