Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dnsviz/dnsviz.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dnsviz/config.py.in2
-rw-r--r--setup.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/dnsviz/config.py.in b/dnsviz/config.py.in
index 2bc9f68..1e458ab 100644
--- a/dnsviz/config.py.in
+++ b/dnsviz/config.py.in
@@ -21,4 +21,4 @@
#
import os
-DNSVIZ_SHARE_PATH = os.path.join('DNSVIZ_INSTALL_PREFIX', 'share', 'dnsviz')
+DNSVIZ_SHARE_PATH = os.path.join('__DNSVIZ_INSTALL_PREFIX__', 'share', 'dnsviz')
diff --git a/setup.py b/setup.py
index 96db048..3414a26 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@ def apply_install_prefix(filename):
in_fh = open(filename, 'r')
out_fh = open(filename_out, 'w')
- out_fh.write(in_fh.read().replace('DNSVIZ_INSTALL_PREFIX', INSTALL_DATA))
+ out_fh.write(in_fh.read().replace('__DNSVIZ_INSTALL_PREFIX__', INSTALL_DATA))
in_fh.close()
out_fh.close()