diff options
-rw-r--r-- | dnsviz/config.py.in | 2 | ||||
-rw-r--r-- | setup.py | 2 |
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') @@ -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() |