X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/433b0ae83105d91d14c321a9e1369338fe7f7f7d..2b8aa340af8302c41ff3b18d10f608672590c764:/make-secnet-sites 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')