]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtoolize.in (func_mkdir_p): Synch with tests/defs; if there
authorGary V. Vaughan <gary@gnu.org>
Tue, 14 Oct 2003 22:52:57 +0000 (22:52 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 14 Oct 2003 22:52:57 +0000 (22:52 +0000)
are no more directories in the stack, break out of the loop.

ChangeLog
libtoolize.in

index a41bd23b53e9a79b452670fbdf96864110a96458..352752d877b0745c1ced2d42a65dffd6c47eb9ec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-10-14  Gary V. Vaughan  <gary@gnu.org>
 
+       * libtoolize.in (func_mkdir_p): Synch with tests/defs; if there
+       are no more directories in the stack, break out of the loop.
+
        * tests/Makefile.am (COMMON_TESTS): Remove pdemo-unst.test, which
        isn't a real test.
 
index 182e3decd93c1665a496a321865b808ca71be2b1..fc732a06b7639a8f03b139f3d7ba8b80fbfce574 100644 (file)
@@ -195,6 +195,7 @@ func_mkdir_p ()
 
     while test ! -d "$my_dir"; do
       my_dirs="$my_dir $my_dirs"
+      case $my_dir in */*) ;; *) break ;; esac
       my_dir=`echo "$my_dir" | sed "$sed_dirname"`
     done
    test ! -n "$my_dirs" || $MKDIR $my_dirs