[svn] commit: r2359 - /trunk/src/bin/cmdctl/cmdctl.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Jun 30 18:20:19 UTC 2010


Author: zhanglikun
Date: Wed Jun 30 18:20:19 2010
New Revision: 2359

Log:
using a build dir instead of src dir to get generated file.

Modified:
    trunk/src/bin/cmdctl/cmdctl.py.in

Modified: trunk/src/bin/cmdctl/cmdctl.py.in
==============================================================================
--- trunk/src/bin/cmdctl/cmdctl.py.in (original)
+++ trunk/src/bin/cmdctl/cmdctl.py.in Wed Jun 30 18:20:19 2010
@@ -55,11 +55,11 @@
 MODULE_SPEC_URL = 'module_spec'
 
 
-# If B10_FROM_SOURCE is set in the environment, we use data files
+# If B10_FROM_BUILD is set in the environment, we use data files
 # from a directory relative to that, otherwise we use the ones
 # installed on the system
-if "B10_FROM_SOURCE" in os.environ:
-    SPECFILE_PATH = os.environ["B10_FROM_SOURCE"] + "/src/bin/cmdctl"
+if "B10_FROM_BUILD" in os.environ:
+    SPECFILE_PATH = os.environ["B10_FROM_BUILD"] + "/src/bin/cmdctl"
 else:
     PREFIX = "@prefix@"
     DATAROOTDIR = "@datarootdir@"




More information about the bind10-changes mailing list