You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by ga...@apache.org on 2013/05/24 18:19:46 UTC

git commit: Warnings should be printed on STDERR.

Updated Branches:
  refs/heads/master b69551296 -> 26aca8f63


Warnings should be printed on STDERR.

Change the jclouds-cli shell scripts to print warnings to STDERR, as
opposed to STDOUT like they do right now.


Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/commit/26aca8f6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/tree/26aca8f6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/diff/26aca8f6

Branch: refs/heads/master
Commit: 26aca8f63ac90ed4c79bb2b2e39c42c8c6d81e05
Parents: b695512
Author: Timur Alperovich <ti...@maginatics.com>
Authored: Thu May 23 14:09:43 2013 -0700
Committer: Andrew Gaul <ga...@apache.org>
Committed: Fri May 24 09:18:57 2013 -0700

----------------------------------------------------------------------
 .../src/main/filtered-resources/unix/bin/shell     |    2 +-
 .../src/main/filtered-resources/win/bin/shell.bat  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/blob/26aca8f6/assembly/src/main/filtered-resources/unix/bin/shell
----------------------------------------------------------------------
diff --git a/assembly/src/main/filtered-resources/unix/bin/shell b/assembly/src/main/filtered-resources/unix/bin/shell
index d5c9e9d..327b505 100644
--- a/assembly/src/main/filtered-resources/unix/bin/shell
+++ b/assembly/src/main/filtered-resources/unix/bin/shell
@@ -48,7 +48,7 @@ if [ "x$JAVA_MAX_PERM_MEM" = "x" ]; then
 fi
 
 warn() {
-    echo "${PROGNAME}: $*"
+    echo "${PROGNAME}: $*" >&2
 }
 
 die() {

http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/blob/26aca8f6/assembly/src/main/filtered-resources/win/bin/shell.bat
----------------------------------------------------------------------
diff --git a/assembly/src/main/filtered-resources/win/bin/shell.bat b/assembly/src/main/filtered-resources/win/bin/shell.bat
index 8501a50..1a41ef6 100644
--- a/assembly/src/main/filtered-resources/win/bin/shell.bat
+++ b/assembly/src/main/filtered-resources/win/bin/shell.bat
@@ -48,7 +48,7 @@ if "%JAVA_MAX_MEM%" == "" (
 goto BEGIN
 
 :warn
-    echo %PROGNAME%: %*
+    echo %PROGNAME%: %* >&2
 goto :EOF
 
 :BEGIN