[mutter/wip/nielsdg/fix-check-commit-msg-stderr] ci: Fix echo stderr redirection




commit e9fb82ad49d6e554cea3767621488b924ffe95cf
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Thu Dec 3 23:41:34 2020 +0100

    ci: Fix echo stderr redirection

 .gitlab-ci/check-commit-log.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci/check-commit-log.sh b/.gitlab-ci/check-commit-log.sh
index f2b9c36ef0..d8b65c1959 100755
--- a/.gitlab-ci/check-commit-log.sh
+++ b/.gitlab-ci/check-commit-log.sh
@@ -32,7 +32,7 @@ function append_failed_test_case() {
   commit_short=${commit:0:8}
 
   echo "<testcase name=\"$test_name: $commit_short\"><failure message=\"$commit_short: 
$test_message\"/></testcase>" >> $JUNIT_REPORT_TESTS_FILE
-  echo &>2 "Commit check failed: $commit_short: $test_message"
+  echo >&2 "Commit check failed: $commit_short: $test_message"
 }
 
 function append_passed_test_case() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]