mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-13 14:39:28 +00:00
Return the success check for pod2rst in write-user-docs
This commit is contained in:
@@ -72,7 +72,11 @@ write_rst() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
$BRANCH/util/pod2rst-fixed $file > $RST_DIR/$tool.rst
|
$BRANCH/util/pod2rst-fixed $file > $RST_DIR/$tool.rst
|
||||||
echo "Wrote $RST_DIR/$tool.rst"
|
if [ $? -eq 0 ]; then
|
||||||
|
echo "Wrote $RST_DIR/$tool.rst"
|
||||||
|
else
|
||||||
|
die "Error writing $RST_DIR/tool.rst"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Parse the head1 sections from percona-toolkit.pod and write them as
|
# Parse the head1 sections from percona-toolkit.pod and write them as
|
||||||
|
Reference in New Issue
Block a user