aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-12-13 07:44:09 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-12-13 07:44:09 +0400
commitf3c7bbf70e7bf51042852985f85a6b86392021cd (patch)
treeec4a353e8207d86a842a072fe3099587a70273e5
parent27992ee8dde900771e1ea7bf5d510f2af5756c63 (diff)
downloadcibs-f3c7bbf70e7bf51042852985f85a6b86392021cd.tar.gz
Shut up grep
-rw-r--r--rules/patch.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/patch.mk b/rules/patch.mk
index 7c6951d..830a548 100644
--- a/rules/patch.mk
+++ b/rules/patch.mk
@@ -27,7 +27,7 @@ ifeq (,$(__patch_mk))
build-depends += gnu-patch
patchdir = $(CURDIR)/patches
-patches = $(shell [ -d "$(patchdir)" ] && cd "$(patchdir)" && grep -v '^\#' series || ls -1 | sort)
+patches = $(shell [ -d "$(patchdir)" ] && cd "$(patchdir)" && grep -v '^\#' series 2>/dev/null || ls -1 | sort)
# Try different path levels:
applied-%-stamp: $(patchdir)/% unpack-stamp