summaryrefslogtreecommitdiffstats
path: root/tools/path_replacer.sh.in
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2019-07-23 22:45:00 +0200
committerFrancis Dupont <fdupont@isc.org>2019-08-02 14:30:37 +0200
commitd093706e040b67bdc8dc9ed8557885da41f61649 (patch)
tree2859e26375eff5355be530c4ed5268bb53ef0bb9 /tools/path_replacer.sh.in
parent[747-include-kea-test-module-in-distributions] Added ChangeLog entry for miss... (diff)
downloadkea-d093706e040b67bdc8dc9ed8557885da41f61649.tar.xz
kea-d093706e040b67bdc8dc9ed8557885da41f61649.zip
[748-expand-libdir-in-samples] Added libdir expansion
Diffstat (limited to 'tools/path_replacer.sh.in')
-rw-r--r--tools/path_replacer.sh.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/path_replacer.sh.in b/tools/path_replacer.sh.in
index f444afcc40..37683a9f91 100644
--- a/tools/path_replacer.sh.in
+++ b/tools/path_replacer.sh.in
@@ -19,12 +19,15 @@
prefix=@prefix@
sysconfdir=@sysconfdir@
localstatedir=@localstatedir@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
echo "Replacing \@prefix\@ with ${prefix}"
+echo "Replacing \@libdir\@ with ${libdir}"
echo "Replacing \@sysconfdir\@ with ${sysconfdir}"
echo "Replacing \@localstatedir\@ with ${localstatedir}"
echo "Input file: $1"
echo "Output file: $2"
-sed -e "s@SEP@\@localstatedir\@@SEP@${localstatedir}@SEP@g; s@SEP@\@prefix\@@SEP@${prefix}@SEP@g; s@SEP@\@sysconfdir\@@SEP@${sysconfdir}@SEP@g" $1 > $2
+sed -e "s@SEP@\@libdir\@@SEP@${libdir}@SEP@g; s@SEP@\@localstatedir\@@SEP@${localstatedir}@SEP@g; s@SEP@\@prefix\@@SEP@${prefix}@SEP@g; s@SEP@\@sysconfdir\@@SEP@${sysconfdir}@SEP@g" $1 > $2