From c49a9c4076f0a688424c71d1f81307ce204763c6 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 27 Jul 1993 18:06:23 +0000 Subject: [PATCH] * Makefile.in (install-dirs): Deal with a prefix like /gnu; its parent is '/' not ''. --- ChangeLog | 3 +++ Makefile.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 49df9c7ece3..ae813c3b28e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Tue Jul 27 12:43:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + * Makefile.in (install-dirs): Deal with a prefix like /gnu; + its parent is '/' not ''. + * Makefile.in (DEVO_SUPPORT): Add comments about ChangeLog. Fri Jul 23 09:53:37 1993 Jason Merrill (jason@wahini.cygnus.com) diff --git a/Makefile.in b/Makefile.in index 1893df91d1b..9daf3f4e764 100644 --- a/Makefile.in +++ b/Makefile.in @@ -882,7 +882,7 @@ MAKEDIRS= \ install-dirs: @for i in $(MAKEDIRS) ; do \ echo Making $$i... ; \ - parent=`echo $$i|sed -e 's@/[^/]*$$@@'`; \ + parent=`echo $$i | sed -e 's@/[^/]*$$@@' | sed -e 's@^$@/@'`; \ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi ; \ if [ ! -d $$i ] ; then \ if mkdir $$i ; then \ -- 2.30.2