From e6f0d8cb40f65b7969eef8434898bf7c1d4b05d8 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Fri, 26 Feb 2016 08:25:32 -0700 Subject: [PATCH] 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 --- tools/generate-devstack-plugins-list.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/generate-devstack-plugins-list.sh b/tools/generate-devstack-plugins-list.sh index 37105224dc..b7817a0096 100644 --- a/tools/generate-devstack-plugins-list.sh +++ b/tools/generate-devstack-plugins-list.sh @@ -54,3 +54,7 @@ done test -r data/devstack-plugins-registry.footer && cat data/devstack-plugins-registry.footer ) > doc/source/plugin-registry.rst + +if [[ -n ${1} ]]; then + cp doc/source/plugin-registry.rst ${1}/doc/source/plugin-registry.rst +fi