X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=blobdiff_plain;f=make-secnet-sites;h=b8a2077d8e76274b326817b65dfc523e0f20ec62;hp=aa503440d6b3555a60df0591aafe19ae4e958a15;hb=30834eab2fc4a8d2063025948dc575682844ddbc;hpb=433b0ae83105d91d14c321a9e1369338fe7f7f7d diff --git a/make-secnet-sites b/make-secnet-sites index aa50344..b8a2077 100755 --- a/make-secnet-sites +++ b/make-secnet-sites @@ -57,8 +57,8 @@ import getopt import re # The ipaddr library is installed as part of secnet -sys.path.append("/usr/local/share/secnet") -sys.path.append("/usr/share/secnet") +sys.path.insert(0,"/usr/local/share/secnet") +sys.path.insert(0,"/usr/share/secnet") import ipaddr VERSION="0.1.18" @@ -480,7 +480,7 @@ else: if len(sys.argv)>3: print "Too many arguments" sys.exit(1) - pfilepath(sys.argv[1],allow_include=True) + pfilepath(sys.argv[1]) of=sys.stdout if len(sys.argv)>2: of=open(sys.argv[2],'w')