Updated Branches: refs/heads/1.6.x 8833d1696 -> 1d394a3d9
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/1d394a3d Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/tree/1d394a3d Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-cli/diff/1d394a3d Branch: refs/heads/1.6.x Commit: 1d394a3d9307239e171cf2193670110af698f65a Parents: 8833d16 Author: Timur Alperovich <[email protected]> Authored: Thu May 23 14:09:43 2013 -0700 Committer: Andrew Gaul <[email protected]> Committed: Fri May 24 09:19: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/1d394a3d/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/1d394a3d/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
