summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2017-06-13 17:30:09 +0300
committerPrakash Surya <prakash.surya@delphix.com>2017-06-13 15:03:53 -0700
commitc1eb8ad45781fe675aa558a47a11345293533238 (patch)
treef1d86d08b694c4f1870b1bb3e47f8dd31c921da3 /usr/src
parentd5767f310a0330fcb172a1651b2c9301e53b9aef (diff)
downloadillumos-joyent-c1eb8ad45781fe675aa558a47a11345293533238.tar.gz
8204 Makefile changes in zfstest cannot cope with empty directories
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Prakash Surya <prakash.surya@delphix.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/test/Makefile.com6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/test/Makefile.com b/usr/src/test/Makefile.com
index aabe39d22b..49e23dd496 100644
--- a/usr/src/test/Makefile.com
+++ b/usr/src/test/Makefile.com
@@ -30,6 +30,10 @@ lint_SRCS:
$(LINT.c) $(SRCS) $(LDLIBS)
$(SUBDIRS): FRC
- @cd $@; pwd; $(MAKE) $(TARGET)
+ @if [ -f $@/Makefile ]; then \
+ cd $@; pwd; $(MAKE) $(TARGET); \
+ else \
+ true; \
+ fi
FRC: