Parcourir la source

[2922] Fix path to spec file

The spec file is not generated, so use B10_FROM_SOURCE, not
B10_FROM_BUILD.
Michal 'vorner' Vaner il y a 12 ans
Parent
commit
ea778b2bd2
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/bin/msgq/msgq.py.in

+ 2 - 2
src/bin/msgq/msgq.py.in

@@ -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@"