]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2922] Fix path to spec file
authorMichal 'vorner' Vaner <vorner@vorner.cz>
Thu, 13 Jun 2013 08:12:48 +0000 (10:12 +0200)
committerMichal 'vorner' Vaner <vorner@vorner.cz>
Thu, 13 Jun 2013 08:12:48 +0000 (10:12 +0200)
The spec file is not generated, so use B10_FROM_SOURCE, not
B10_FROM_BUILD.

src/bin/msgq/msgq.py.in

index 7aee4702c5de43ab46e0f5c28927e36c216e331e..b6b110683834b551a05e9f7429caa4d754ef0564 100755 (executable)
@@ -61,8 +61,8 @@ VERSION = "b10-msgq 20110127 (BIND 10 @PACKAGE_VERSION@)"
 # 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_BUILD" in os.environ:
-    SPECFILE_PATH = os.environ["B10_FROM_BUILD"] + "/src/bin/msgq"
+if "B10_FROM_SOURCE" in os.environ:
+    SPECFILE_PATH = os.environ["B10_FROM_SOURCE"] + "/src/bin/msgq"
 else:
     PREFIX = "@prefix@"
     DATAROOTDIR = "@datarootdir@"