Parcourir la source

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

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2359 e5f2f494-b856-4b98-b285-d166d9295462
Likun Zhang il y a 15 ans
Parent
commit
0c4bbcba5e
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      src/bin/cmdctl/cmdctl.py.in

+ 3 - 3
src/bin/cmdctl/cmdctl.py.in

@@ -55,11 +55,11 @@ CONFIG_DATA_URL = 'config_data'
 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@"