[master] ed0dac6 mkdir -p is shorter

Nils Goroll nils.goroll at uplex.de
Thu Dec 8 17:55:04 CET 2016


commit ed0dac6945228f4f205d944251db8dfa4f3bae40
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Dec 8 17:51:51 2016 +0100

    mkdir -p is shorter
    
    thanks @dridi

diff --git a/bin/varnishtest/Makefile.am b/bin/varnishtest/Makefile.am
index 1d5696f..2149ed4 100644
--- a/bin/varnishtest/Makefile.am
+++ b/bin/varnishtest/Makefile.am
@@ -9,7 +9,7 @@ check: check-am check-local
 check-am: check-local
 # See if list of checks have changed, recheck
 check-local:
-	mkdir tests 2>/dev/null || true ; \
+	mkdir -p tests ; \
 	LC_ALL=C; \
 	if [ "$$(cd $(srcdir) && echo tests/*.vtc)" != "@VTC_TESTS@" ]; then \
 		cd $(top_builddir) && ./config.status --recheck ; \



More information about the varnish-commit mailing list