Repository: flume Updated Branches: refs/heads/trunk 0421fa2ab -> a8dd87358
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/a8dd8735 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/a8dd8735 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/a8dd8735 Branch: refs/heads/trunk Commit: a8dd873588a282bb832c923010a485ab39ccf37b Parents: 0421fa2 Author: Roshan Naik <[email protected]> Authored: Tue Dec 29 13:02:13 2015 -0800 Committer: Roshan Naik <[email protected]> Committed: Tue Dec 29 13:02:13 2015 -0800 ---------------------------------------------------------------------- bin/flume-ng.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/a8dd8735/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 + '"' }
