[svn] commit: r2911 - /branches/trac191-rebased/src/bin/stats/stats.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Sep 14 10:28:03 UTC 2010


Author: jelte
Date: Tue Sep 14 10:28:03 2010
New Revision: 2911

Log:
another small fix; stats.spec is generated and therefore lives under the build directory, not the source directory

Modified:
    branches/trac191-rebased/src/bin/stats/stats.py.in

Modified: branches/trac191-rebased/src/bin/stats/stats.py.in
==============================================================================
--- branches/trac191-rebased/src/bin/stats/stats.py.in (original)
+++ branches/trac191-rebased/src/bin/stats/stats.py.in Tue Sep 14 10:28:03 2010
@@ -37,8 +37,8 @@
 # If B10_FROM_SOURCE 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_LOCATION = os.environ["B10_FROM_SOURCE"] + "/src/bin/stats/stats.spec"
+if "B10_FROM_BUILD" in os.environ:
+    SPECFILE_LOCATION = os.environ["B10_FROM_BUILD"] + "/src/bin/stats/stats.spec"
 else:
     PREFIX = "@prefix@"
     DATAROOTDIR = "@datarootdir@"




More information about the bind10-changes mailing list