You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ho...@apache.org on 2017/11/20 14:46:02 UTC
[incubator-openwhisk] branch master updated: create dir when
creating content.json using remote mode
This is an automated email from the ASF dual-hosted git repository.
houshengbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 80d5bca create dir when creating content.json using remote mode
80d5bca is described below
commit 80d5bcaaefcc0508933b71893571798d6c0e8ef3
Author: Carlos Santana <cs...@us.ibm.com>
AuthorDate: Fri Nov 17 21:42:00 2017 -0500
create dir when creating content.json using remote mode
---
ansible/roles/cli/files/createContentJson.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ansible/roles/cli/files/createContentJson.sh b/ansible/roles/cli/files/createContentJson.sh
index cc59622..9f0c492 100755
--- a/ansible/roles/cli/files/createContentJson.sh
+++ b/ansible/roles/cli/files/createContentJson.sh
@@ -56,7 +56,8 @@ create_cli_packages() {
dirIndex="$(echo $dirIndex | rev | cut -c2- | rev)"
dirIndex="$dirIndex}}"
- echo $dirIndex > $PATH_CONTENT_JSON/content.json
+ mkdir -p "${PATH_CONTENT_JSON}"
+ echo $dirIndex > "${PATH_CONTENT_JSON}/content.json"
};
archs="386 amd64";
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].