From: Michal 'vorner' Vaner Date: Thu, 13 Jun 2013 08:12:48 +0000 (+0200) Subject: [2922] Fix path to spec file X-Git-Tag: bind10-1.2.0beta1-release~406^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea778b2bd22edec0b971791ae59008328163542f;p=thirdparty%2Fkea.git [2922] Fix path to spec file The spec file is not generated, so use B10_FROM_SOURCE, not B10_FROM_BUILD. --- diff --git a/src/bin/msgq/msgq.py.in b/src/bin/msgq/msgq.py.in index 7aee4702c5..b6b1106838 100755 --- a/src/bin/msgq/msgq.py.in +++ b/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@"