From: Mike Frysinger Date: Fri, 13 Oct 2017 15:28:41 +0000 (+0000) Subject: fixinc.in (dirname): Change sed from 's|[^/]*/||' to 's|[^/]*//*||'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b015bcbb16af842c806fcba44252a01038b32ef6;p=gcc.git fixinc.in (dirname): Change sed from 's|[^/]*/||' to 's|[^/]*//*||'. 2017-10-13 Mike Frysinger * fixinc.in (dirname): Change sed from 's|[^/]*/||' to 's|[^/]*//*||'. From-SVN: r253730 --- diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index ffd171843e1..1f29148e8e3 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,8 @@ +2017-10-13 Mike Frysinger + + * fixinc.in (dirname): Change sed from 's|[^/]*/||' to + 's|[^/]*//*||'. + 2017-06-12 Doug Rupp * inclhack.def (AAB_vxworks_stdint): Remove hack. diff --git a/fixincludes/fixinc.in b/fixincludes/fixinc.in index 15cbaa23544..cd0b458b8f8 100755 --- a/fixincludes/fixinc.in +++ b/fixincludes/fixinc.in @@ -344,7 +344,7 @@ if $LINKS; then mkdir $component >/dev/null 2>&1 cd $component dirmade=$dirmade/$component - dirname=`echo $dirname | sed -e 's|[^/]*/||'` + dirname=`echo $dirname | sed -e 's|[^/]*//*||'` done fi