are no more directories in the stack, break out of the loop.
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.
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