* bootstrap (slurp): Create target directories that don't exist.

Specifically, we need lib/uniwidth/ because of recent Gnulib changes.
This commit is contained in:
Joel E. Denny
2007-07-17 02:28:28 +00:00
parent 6ce2d93a9b
commit 953b39351a
4 changed files with 21 additions and 1 deletions

View File

@@ -395,7 +395,12 @@ slurp() {
copied=
sep=
for file in `ls $1/$dir`; do
test -d $1/$dir/$file && continue
if test -d $1/$dir/$file; then
if test ! -d $dir/$file; then
echo "$0: mkdir $dir/$file" && mkdir $dir/$file || exit
fi
continue
fi
for excluded_file in $excluded_files; do
test "$dir/$file" = "$excluded_file" && continue 2
done