Parcourir la source

Renamed the source for bindctl that way
when running in the source directory it (previously
bindctl.py) wouldn't be imported by bindctl.
Don't know if this is the best way.
Should be no change for the installed bindctl.

While here add another TODO.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1415 e5f2f494-b856-4b98-b285-d166d9295462

Jeremy C. Reed il y a 15 ans
Parent
commit
129c064ffd
4 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 1 1
      configure.ac
  2. 2 2
      src/bin/bindctl/Makefile.am
  3. 1 1
      src/bin/bindctl/TODO
  4. 0 0
      src/bin/bindctl/bindctl-source.py.in

+ 1 - 1
configure.ac

@@ -259,7 +259,7 @@ AC_OUTPUT([src/bin/cfgmgr/b10-cfgmgr.py
            src/bin/bind10/tests/bind10_test
            src/bin/bind10/run_bind10.sh
            src/bin/bindctl/run_bindctl.sh
-           src/bin/bindctl/bindctl.py
+           src/bin/bindctl/bindctl-source.py
            src/bin/bindctl/unittest/bindctl_test
            src/bin/loadzone/run_loadzone.sh
            src/bin/loadzone/b10-loadzone.py

+ 2 - 2
src/bin/bindctl/Makefile.am

@@ -8,7 +8,7 @@ pythondir = $(pyexecdir)/bindctl
 
 CLEANFILES = bindctl
 
-bindctl: bindctl.py
+bindctl: bindctl-source.py
 	$(SED) -e "s|@@PYTHONPATH@@|@pyexecdir@|" \
-	       -e "s|@@LIBEXECDIR@@|$(pkglibexecdir)|" bindctl.py >$@
+	       -e "s|@@LIBEXECDIR@@|$(pkglibexecdir)|" bindctl-source.py >$@
 	chmod a+x $@

+ 1 - 1
src/bin/bindctl/TODO

@@ -13,4 +13,4 @@ functions should be updated first.):
 
         moduleinfo.py:
             get_param_name_by_position
-
+5. Understandable error message is cert_file is missing.

src/bin/bindctl/bindctl.py.in → src/bin/bindctl/bindctl-source.py.in