diff options
author | Francis Dupont <fdupont@isc.org> | 2019-07-23 22:45:00 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2019-08-02 14:30:37 +0200 |
commit | d093706e040b67bdc8dc9ed8557885da41f61649 (patch) | |
tree | 2859e26375eff5355be530c4ed5268bb53ef0bb9 /tools/path_replacer.sh.in | |
parent | [747-include-kea-test-module-in-distributions] Added ChangeLog entry for miss... (diff) | |
download | kea-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.in | 5 |
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 |