[master] a73214af1 vtest: fix handling existing directory

Nils Goroll nils.goroll at uplex.de
Tue May 27 13:44:04 UTC 2025


commit a73214af1b53900229f1c9c15f2460118892368d
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue May 27 15:43:22 2025 +0200

    vtest: fix handling existing directory
    
    (I hope)
    
    Ref 68fb5018622f675ede5853473f57b042935e15e4

diff --git a/tools/vtest.sh b/tools/vtest.sh
index 005214827..5dfad996a 100755
--- a/tools/vtest.sh
+++ b/tools/vtest.sh
@@ -80,7 +80,7 @@ if ! (cd varnish-cache 2>/dev/null) ; then
 		https://github.com/varnishcache/varnish-cache.git \
 		varnish-cache
 else
-	git submodule update --init || true
+	(cd varnish-cache && git submodule update --init || true)
 fi
 
 export SRCDIR=`pwd`/varnish-cache


More information about the varnish-commit mailing list