summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-08-18 17:12:24 +0200
committerFabian Groffen <grobian@gentoo.org>2016-08-18 17:12:24 +0200
commit08c02b57f8401e015aba06aaee4f3231fb2c7ce5 (patch)
treef5f6742bfea621e3c6fd48e6c7589c78752130d8 /eclass/prefix.eclass
parentmedia-libs/libmtp: Removed old without causing QA issues. (diff)
downloadgentoo-08c02b57f8401e015aba06aaee4f3231fb2c7ce5.tar.gz
gentoo-08c02b57f8401e015aba06aaee4f3231fb2c7ce5.tar.bz2
gentoo-08c02b57f8401e015aba06aaee4f3231fb2c7ce5.zip
eclass/prefix: support run dir in hprefixify, bug #590326
Diffstat (limited to 'eclass/prefix.eclass')
-rw-r--r--eclass/prefix.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/prefix.eclass b/eclass/prefix.eclass
index c0675cd37032..224cb09d2e3a 100644
--- a/eclass/prefix.eclass
+++ b/eclass/prefix.eclass
@@ -92,7 +92,7 @@ hprefixify() {
if [[ -e ${x} ]] ; then
ebegin " ${x##*/}"
sed -r \
- -e "${PREFIX_LINE_MATCH}s,([^[:alnum:]}\)\.])/(usr|lib(|[onx]?32|n?64)|etc|bin|sbin|var|opt),\1${EPREFIX}/\2,g" \
+ -e "${PREFIX_LINE_MATCH}s,([^[:alnum:]}\)\.])/(usr|lib(|[onx]?32|n?64)|etc|bin|sbin|var|opt|run),\1${EPREFIX}/\2,g" \
-e "${PREFIX_EXTRA_REGEX}" \
-i "${x}"
eend $? || die "failed to prefixify ${x}"