Repository: flume Updated Branches: refs/heads/flume-1.7 9156c3660 -> 069558528
FLUME-2806. flume-ng.ps1 Error running script to start an agent on Windows (Liam Mousseau via Roshan Naik) Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/06955852 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/06955852 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/06955852 Branch: refs/heads/flume-1.7 Commit: 0695585284869a0fefc74fda8e7001be86859917 Parents: 9156c36 Author: Roshan Naik <[email protected]> Authored: Tue Dec 29 13:02:13 2015 -0800 Committer: Roshan Naik <[email protected]> Committed: Tue Dec 29 13:03:00 2015 -0800 ---------------------------------------------------------------------- bin/flume-ng.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/06955852/bin/flume-ng.ps1 ---------------------------------------------------------------------- diff --git a/bin/flume-ng.ps1 b/bin/flume-ng.ps1 index 1638bf1..8cdc331 100755 --- a/bin/flume-ng.ps1 +++ b/bin/flume-ng.ps1 @@ -166,7 +166,7 @@ Function GetClassPath ($cmd) { Function GetJavaPath { if ($env:JAVA_HOME) { - return "$env:JAVA_HOME\bin\java.exe" }ss + return "$env:JAVA_HOME\bin\java.exe" } Write-Host "WARN: JAVA_HOME not set" return '"' + (Resolve-Path "java.exe").Path + '"' }
