]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Prevent premature @AR@ replacement in a sed expression. elfutils-0.160
authorJosh Stone <jistone@redhat.com>
Mon, 25 Aug 2014 21:40:35 +0000 (14:40 -0700)
committerJosh Stone <jistone@redhat.com>
Mon, 25 Aug 2014 21:40:35 +0000 (14:40 -0700)
commitf1ec744b5747a3bd66297c9f965be6ea10cb7f86
tree1ce7462512c4fa863c01e56a70a08d7d4311f3b4
parent5efda26c21034f5c96680c7f78c8fe8936af11a7
Prevent premature @AR@ replacement in a sed expression.

The Makefile rule for make-debug-archive has a sed expression to replace
@AR@ will the installed name, but this was itself getting replaced when
the Makefile was configured, for a pattern like "s,ar,/path/prefix-,g".
Havoc ensued in the resulting make-debug-archive.

The fix matches it using a regex bracket expression, "[@]AR[@]", so sed
will still match it, but it's immune to configure's replacement.

Signed-off-by: Josh Stone <jistone@redhat.com>
src/ChangeLog
src/Makefile.am