Fix building of image-api-2 etc
The scripts where not marked as executable in the installed packages and thus could not be executed. Invoke them via bash so that executable permissions are not needed. Change-Id: I13d9c1ed0a28e4a0dc13b95e9230d3c1c3eae858
This commit is contained in:
parent
fc6ea69f1c
commit
b3b96eb65c
|
@ -101,6 +101,7 @@ Release notes
|
|||
---
|
||||
|
||||
* Improved openstack-auto-commands output
|
||||
* Fix script invocation in openstack-doc-test.
|
||||
|
||||
0.7.1
|
||||
-----
|
||||
|
|
|
@ -773,7 +773,7 @@ def build_book(book, publish_path, log_path):
|
|||
base_book = "install-guide (for Debian, Fedora, openSUSE, Ubuntu)"
|
||||
elif base_book == "high-availability-guide":
|
||||
output = subprocess.check_output(
|
||||
[os.path.join(SCRIPTS_DIR, 'build-ha-guide.sh'), ],
|
||||
["bash", os.path.join(SCRIPTS_DIR, 'build-ha-guide.sh'), ],
|
||||
stderr=subprocess.STDOUT
|
||||
)
|
||||
output = subprocess.check_output(
|
||||
|
@ -784,7 +784,7 @@ def build_book(book, publish_path, log_path):
|
|||
# Let's not check for "v3" but for the full name instead
|
||||
elif book.endswith("openstack-identity-api/v3"):
|
||||
output = subprocess.check_output(
|
||||
[os.path.join(SCRIPTS_DIR, "markdown-docbook.sh"),
|
||||
["bash", os.path.join(SCRIPTS_DIR, "markdown-docbook.sh"),
|
||||
"identity-api-v3"],
|
||||
stderr=subprocess.STDOUT
|
||||
)
|
||||
|
@ -801,7 +801,7 @@ def build_book(book, publish_path, log_path):
|
|||
# Repository: image-api
|
||||
elif base_book == 'image-api-v2':
|
||||
output = subprocess.check_output(
|
||||
[os.path.join(SCRIPTS_DIR, "markdown-docbook.sh"),
|
||||
["bash", os.path.join(SCRIPTS_DIR, "markdown-docbook.sh"),
|
||||
"image-api-v2.0"],
|
||||
stderr=subprocess.STDOUT
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue