You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2023/03/01 20:26:03 UTC

[jena] branch main updated: Write messages to stderr

This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/main by this push:
     new fde563165e Write messages to stderr
     new 2e36555a89 Merge pull request #1788 from afs/stderr
fde563165e is described below

commit fde563165e249e168ba4710fded479ca26172f58
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Wed Mar 1 18:08:09 2023 +0000

    Write messages to stderr
---
 apache-jena/bin/tdb2.xloader | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apache-jena/bin/tdb2.xloader b/apache-jena/bin/tdb2.xloader
index cae154be2e..96554eca21 100755
--- a/apache-jena/bin/tdb2.xloader
+++ b/apache-jena/bin/tdb2.xloader
@@ -42,7 +42,7 @@ function testSortParallel() {
     set +e
     sort --parallel=3 < /dev/null &>/dev/null
     if [[ $? -ne 0 ]]; then
-        echo "No --parallel support in sort(1)" 2&>1
+        echo "No --parallel support in sort(1)" 1>&2
 	exit 9
     fi
     set -e
@@ -69,7 +69,7 @@ then
 fi
 
 if [[ $COMPLETE != "yes" ]] ; then
-    echo "One or more programs missing" 2&>1
+    echo "One or more programs missing" 1>&2
     exit 9
 fi