mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix minor bug in contrib/man/md/md2man-all.sh causing the creation of contrib/man/manREADME
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
parent
c40602b254
commit
d561fe6d2d
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ for FILE in *.md; do
|
|||
base="$(basename "$FILE")"
|
||||
name="${base%.md}"
|
||||
num="${name##*.}"
|
||||
if [ -z "$num" -o "$base" = "$num" ]; then
|
||||
if [ -z "$num" -o "$name" = "$num" ]; then
|
||||
# skip files that aren't of the format xxxx.N.md (like README.md)
|
||||
continue
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue