Browse code

Place the generated list in the correct location for the proposal job

If tools/generate-devstack-plugins-list.sh is invoked with a parameter,
as is the case with the proposal job, copy the generated list thither
so that git will actually generate a diff.

Change-Id: I874a521bba7f402f5c07e28d6ebb086e77873795

Clint Adams authored on 2016/02/27 00:25:32
Showing 1 changed files
... ...
@@ -54,3 +54,7 @@ done
54 54
 
55 55
 test -r data/devstack-plugins-registry.footer && cat data/devstack-plugins-registry.footer
56 56
 ) > doc/source/plugin-registry.rst
57
+
58
+if [[ -n ${1} ]]; then
59
+    cp doc/source/plugin-registry.rst ${1}/doc/source/plugin-registry.rst
60
+fi