[experimental-ims] cdeea12 Don't overwrite reference results unless told to

Geoff Simmons geoff at varnish-cache.org
Fri Jul 8 11:47:45 CEST 2011


commit cdeea1235a6a1fe78e96327ad290d58547b4e5af
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