[master] 2cc40be Make sure nobody else wastes time on this

Poul-Henning Kamp phk at FreeBSD.org
Fri Dec 1 22:34:09 UTC 2017


commit 2cc40bea6e7058d2e598e7547026686d43e9ba39
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Dec 1 20:49:28 2017 +0000

    Make sure nobody else wastes time on this

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 3b4972b..f1cb87f 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -52,6 +52,9 @@ buildroot = "../.."
 if len(sys.argv) == 3:
 	srcroot = sys.argv[1]
 	buildroot = sys.argv[2]
+elif len(sys.argv) != 1:
+	print("Two arguments or none")
+	exit(2)
 
 tokens = {
 	"T_INC":	"++",


More information about the varnish-commit mailing list