[master] 4dcff1d Tolerate symbolic links
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Fri Nov 18 16:31:05 CET 2016
commit 4dcff1d3a1d773054452fc4117551a7cbff2f0ce
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Fri Nov 18 16:28:29 2016 +0100
Tolerate symbolic links
diff --git a/tools/vtest.sh b/tools/vtest.sh
index 33152e4..0aff2f4 100644
--- a/tools/vtest.sh
+++ b/tools/vtest.sh
@@ -46,7 +46,7 @@ WAITBAD=1 # unit: WAITPERIOD
#######################################################################
-if [ ! -d varnish-cache ] ; then
+if ! (cd varnish-cache 2>/dev/null) ; then
git clone \
https://github.com/varnishcache/varnish-cache.git \
varnish-cache
More information about the varnish-commit
mailing list