dodoc - create leading directory when installing

todo
Junio C Hamano 2007-04-23 23:10:15 -07:00
parent 626254d493
commit 3d575ef770
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ do
it=$(expr "$path" : doc-$type-inst/'\(.*\)') || continue
t="doc-${type}pages/$it"
test -f "$t" && diff -q "$path" "$t" && continue

mkdir -p "$(dirname "$t")" &&
echo ": $t" && rm -f "$t" && ln "$path" "$t" || exit
( cd doc-${type}pages && git add "$it" )
done || exit