summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ob-applypatches.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ob-applypatches.sh b/src/ob-applypatches.sh
index c5039d5..a53d390 100644
--- a/src/ob-applypatches.sh
+++ b/src/ob-applypatches.sh
@@ -39,7 +39,7 @@ apply_patches()
{
applied='false'
- if [ -d '../patches' ]; then
+ if [ -d '../patches' ] && [ -d 'src' ]; then
# Iterate over patches ordered alphabetically by name.
# POSIX.1-2008 says that the results of a pathname expansion shall be
# "sorted according to the collating sequence in effect in the current