summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/uk/co/blatech/blaears/controllers/GitMergeController.java2
-rw-r--r--src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/uk/co/blatech/blaears/controllers/GitMergeController.java b/src/main/java/uk/co/blatech/blaears/controllers/GitMergeController.java
index 7b3a1aa..7c6fecb 100644
--- a/src/main/java/uk/co/blatech/blaears/controllers/GitMergeController.java
+++ b/src/main/java/uk/co/blatech/blaears/controllers/GitMergeController.java
@@ -45,7 +45,7 @@ public class GitMergeController {
return "gitlab";
}
- String command = "echo theblueroom " + user + actionTxt + source + "] to [" + target + "] on <" + repo + ">: [" + title + "] "+ url + " | bash /home/smsd/msgrelay.bash ";
+ String command = "echo theblueroom " + user + actionTxt + source + "] to [" + target + "] on [" + repo + "]: [" + title + "] "+ url + " | bash /home/smsd/msgrelay.bash ";
log.info("Running command: " + command);
//DANGER
Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", command});
diff --git a/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java b/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java
index 73d1b4b..e0f684b 100644
--- a/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java
+++ b/src/main/java/uk/co/blatech/blaears/controllers/GitPushController.java
@@ -39,7 +39,7 @@ public class GitPushController {
log.info("Received commits: " + commitMsg);
//DANGER
- String command = "echo theblueroom " + pushMsg.getUserName() + " pushed to <" + pushMsg.getRepository().getName() + ">: "+ commitMsg + " | bash /home/smsd/msgrelay.bash ";
+ String command = "echo theblueroom " + pushMsg.getUserName() + " pushed to [" + pushMsg.getRepository().getName() + "]: "+ commitMsg + " | bash /home/smsd/msgrelay.bash";
log.info("Running command: " + command);
Runtime.getRuntime().exec(new String[]{"/bin/bash", "-c", command});