Skip to content

Commit

Permalink
eclass/prefix: support run dir in hprefixify, bug #590326
Browse files Browse the repository at this point in the history
  • Loading branch information
grobian committed Aug 18, 2016
1 parent 58afd2f commit 08c02b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/prefix.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 08c02b5

Please sign in to comment.