brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject brooklyn-library git commit: add -p to mkdir so it doesn't fail if already present
Date Thu, 05 May 2016 08:23:47 GMT
Repository: brooklyn-library
Updated Branches:
  refs/heads/master 13b3f9c33 -> 9e7f637c3


add -p to mkdir so it doesn't fail if already present


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-library/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-library/commit/9e7f637c
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-library/tree/9e7f637c
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-library/diff/9e7f637c

Branch: refs/heads/master
Commit: 9e7f637c32fa7984267b30774b5bfa832f9dd826
Parents: 13b3f9c
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Thu May 5 09:23:02 2016 +0100
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Thu May 5 09:23:02 2016 +0100

----------------------------------------------------------------------
 .../brooklyn/entity/webapp/nodejs/NodeJsWebAppSshDriver.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-library/blob/9e7f637c/software/webapp/src/main/java/org/apache/brooklyn/entity/webapp/nodejs/NodeJsWebAppSshDriver.java
----------------------------------------------------------------------
diff --git a/software/webapp/src/main/java/org/apache/brooklyn/entity/webapp/nodejs/NodeJsWebAppSshDriver.java
b/software/webapp/src/main/java/org/apache/brooklyn/entity/webapp/nodejs/NodeJsWebAppSshDriver.java
index 76f5bc3..1040963 100644
--- a/software/webapp/src/main/java/org/apache/brooklyn/entity/webapp/nodejs/NodeJsWebAppSshDriver.java
+++ b/software/webapp/src/main/java/org/apache/brooklyn/entity/webapp/nodejs/NodeJsWebAppSshDriver.java
@@ -104,7 +104,7 @@ public class NodeJsWebAppSshDriver extends AbstractSoftwareProcessSshDriver
impl
                         BashCommands.installPackage("software-properties-common python-software-properties
python g++ make"),
                         BashCommands.sudo("add-apt-repository ppa:chris-lea/node.js"))))
                 .add(BashCommands.installPackage(MutableMap.of("yum", "git nodejs npm", "apt",
"git-core nodejs"), null))
-                .add("mkdir \"$HOME/.npm\"")
+                .add("mkdir -p \"$HOME/.npm\"")
                 .add(BashCommands.sudo("npm install -g n"))
                 .add(BashCommands.sudo("n " + getVersion()))
                 .build();


Mime
View raw message