[3.0] 8c6ce17 Don't overwrite reference results unless told to

Tollef Fog Heen tfheen at varnish-cache.org
Wed Aug 17 11:25:25 CEST 2011


commit 8c6ce17cf9bda9c9fc2f35cc96e3bbe77ae9af32
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jun 22 08:31:56 2011 +0000

    Don't overwrite reference results unless told to

diff --git a/bin/varnishd/flint.sh b/bin/varnishd/flint.sh
index d163374..d87fe66 100755
--- a/bin/varnishd/flint.sh
+++ b/bin/varnishd/flint.sh
@@ -20,4 +20,6 @@ if [ -f _.fl.old ] ; then
 	diff -u _.fl.old _.fl
 fi
 
-mv _.fl _.fl.old
+if [ "x$1" = "x-ok" ] ; then
+	mv _.fl _.fl.old
+fi



More information about the varnish-commit mailing list