From 760899d0aeace7a433676d6f58804017c1d5bdf1 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 09 Oct 2012 21:49:21 -0400 Subject: Fix patch pathnames. --- 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}" -- cgit v0.9.1