|
...
|
...
|
@@ -41,7 +41,9 @@
|
|
41
|
41
|
(
|
|
42
|
42
|
declare -A plugins
|
|
43
|
43
|
|
|
44
|
|
-test -r data/devstack-plugins-registry.header && cat data/devstack-plugins-registry.header
|
|
|
44
|
+if [[ -r data/devstack-plugins-registry.header ]]; then
|
|
|
45
|
+ cat data/devstack-plugins-registry.header
|
|
|
46
|
+fi
|
|
45
|
47
|
|
|
46
|
48
|
sorted_plugins=$(python tools/generate-devstack-plugins-list.py)
|
|
47
|
49
|
|
|
...
|
...
|
@@ -52,7 +54,9 @@ for k in ${sorted_plugins}; do
|
|
52
|
52
|
printf "+----------------------------+-------------------------------------------------------------------------+\n"
|
|
53
|
53
|
done
|
|
54
|
54
|
|
|
55
|
|
-test -r data/devstack-plugins-registry.footer && cat data/devstack-plugins-registry.footer
|
|
|
55
|
+if [[ -r data/devstack-plugins-registry.footer ]]; then
|
|
|
56
|
+ cat data/devstack-plugins-registry.footer
|
|
|
57
|
+fi
|
|
56
|
58
|
) > doc/source/plugin-registry.rst
|
|
57
|
59
|
|
|
58
|
60
|
if [[ -n ${1} ]]; then
|