From: Francis Dupont Date: Tue, 23 Jul 2019 20:45:00 +0000 (+0200) Subject: [748-expand-libdir-in-samples] Added libdir expansion X-Git-Tag: Kea-1.6.1~10^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d093706e040b67bdc8dc9ed8557885da41f61649;p=thirdparty%2Fkea.git [748-expand-libdir-in-samples] Added libdir expansion --- 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