Fix a bug where the infopane plugin would not show the tab for a single
conversation in a window, especially after closing a background tab.
Fixes #430 (or so I think!)
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
scriptversion=2005-06-29.22
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain.
#
# This file is maintained in Automake, please report
# bugs to <bug-automake@gnu.org> or send patches to
# <automake-patches@gnu.org>.
errstatus=0
dirmode=
usage="\
Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
Create each directory DIR (with mode MODE, if specified), including all
leading file name components.
Report bugs to <bug-automake@gnu.org>."
# process command line arguments
whiletest$#-gt0;do
case$1in
-h|--help|--h*)# -h for help
echo"$usage"
exit$?
;;
-m)# -m PERM arg
shift
test$#-eq0&&{echo"$usage"1>&2;exit1;}
dirmode=$1
shift
;;
--version)
echo"$0$scriptversion"
exit$?
;;
--)# stop option processing
shift
break
;;
-*)# unknown option
echo"$usage"1>&2
exit1
;;
*)# first non-opt arg
break
;;
esac
done
forfile
do
iftest-d"$file";then
shift
else
break
fi
done
case$#in
0)exit0;;
esac
# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
# mkdir -p a/c at the same time, both will detect that a is missing,
# one will create a, then the other will try to create a and die with
# a "File exists" error. This is a problem when calling mkinstalldirs
# from a parallel make. We use --version in the probe to restrict