mirror of
https://github.com/docker/cli.git
synced 2026-01-23 15:21:32 +03: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) Upstream-commit: d561fe6d2d47b2655d8532264ea9ae20e8d20f04 Component: engine
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user