summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 a53d390..f3f0779 100644
--- a/src/ob-applypatches.sh
+++ b/src/ob-applypatches.sh
@@ -47,6 +47,7 @@ apply_patches()
orig_lang="${LANG}"
LANG='POSIX'
for patch in '../patches/'*; do
+ [ -f "${patch}" ] || continue
LANG="${orig_lang}"
patch="${patch#../patches/}"
ob_info "$(ob_get_msg 'applying_patch')" "${patch}"