1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #6424 from tianon/fix-minor-md2man-bug

Fix minor bug in contrib/man/md/md2man-all.sh causing the creation of contrib/man/manREADME
This commit is contained in:
Sven Dowideit 2014-06-19 09:57:23 +10:00
commit a790d3309c

View file

@ -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