diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2012-11-01 19:50:30 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2012-11-01 19:50:30 +0400 |
commit | 98c22bd8861c5e7df48d84d4dc70df0de840de36 (patch) | |
tree | 1616e87fb89cfbf6a9564e2d89e29da7a4786b8c /rules/patch.mk | |
parent | f719a0ca758c45a7344d1f7c736a8f1e3defd660 (diff) | |
download | cibs-98c22bd8861c5e7df48d84d4dc70df0de840de36.tar.gz |
Test if patch dir exists
Diffstat (limited to 'rules/patch.mk')
-rw-r--r-- | rules/patch.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/patch.mk b/rules/patch.mk index 40d9174..947b982 100644 --- a/rules/patch.mk +++ b/rules/patch.mk @@ -25,7 +25,7 @@ ifeq (,$(__patch_mk)) patchdir = $(CURDIR)/patches -patches = $(shell cd "$(patchdir)" && ls -1 | sort) +patches = $(shell [ -d "$(patchdir)" ] && cd "$(patchdir)" && ls -1 | sort) # Try different path levels: applied-%-stamp: $(patchdir)/% unpack-stamp check-build-dep-stamp |