fixinc.in (dirname): Change sed from 's|[^/]*/||' to 's|[^/]*//*||'.
authorMike Frysinger <vapier@chromium.org>
Fri, 13 Oct 2017 15:28:41 +0000 (15:28 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 13 Oct 2017 15:28:41 +0000 (09:28 -0600)
2017-10-13  Mike Frysinger  <vapier@chromium.org>

* fixinc.in (dirname): Change sed from 's|[^/]*/||' to
's|[^/]*//*||'.

From-SVN: r253730

fixincludes/ChangeLog
fixincludes/fixinc.in

index ffd171843e15c515d5ecfca22fde05edbcbca7ee..1f29148e8e3ab1d306fc857398efaffa8785d7aa 100644 (file)
@@ -1,3 +1,8 @@
+2017-10-13  Mike Frysinger  <vapier@chromium.org>
+
+       * fixinc.in (dirname): Change sed from 's|[^/]*/||' to
+       's|[^/]*//*||'.
+
 2017-06-12  Doug Rupp  <rupp@adacore.com>
 
        * inclhack.def (AAB_vxworks_stdint): Remove hack.
index 15cbaa235445f6e5caef27b0f1323bedbb887797..cd0b458b8f8b442977e24f19ed5b40c3bbac91d0 100755 (executable)
@@ -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