Browse Source

fixed a parameter error

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1079 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
30c5fcff85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/cpp/tests/testdata/gen-wiredata.py.in

+ 1 - 1
src/lib/dns/cpp/tests/testdata/gen-wiredata.py.in

@@ -218,7 +218,7 @@ if __name__ == "__main__":
 
     outputfile = options.output
     if not outputfile:
-        m = re.match('(.*)\.[^.]+$', sys.argv[1])
+        m = re.match('(.*)\.[^.]+$', configfile)
         if m:
             outputfile = m.group(1)
         else: