-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MSI: Set correct ruby path after copying files
Althouth the original MSI installer generated by omnbus-td-agent allows users to choose a folder to install, the installed fluentd command can't be launched when the user chooses non-default folder since nobody settles the ruby path embedded in the command. This patch addresses this issue by running `gem pristine` as a post install action. Signed-off-by: Takuro Ashie <ashie@clear-code.com>
- Loading branch information
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@echo off | ||
title Td-agent post install script | ||
if not "%~dp0" == "C:\opt\td-agent\bin\" ( | ||
%~dp0gem pristine --only-executables --all | ||
) |