This is an automated email from the ASF dual-hosted git repository. ronny pushed a commit to branch dummy-logfile-without-bom in repository https://gitbox.apache.org/repos/asf/couchdb-glazier.git
commit b0633000562c49b8a0f915f130cd425f95dd48f8 Author: Ronny Berndt <[email protected]> AuthorDate: Tue Nov 22 12:01:04 2022 +0100 Create dummy logfile without BOM Replace the Out-File cmdlet (creates file with BOM) with New-Item cmdlet to create a dummy log file. --- bin/build_installer.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build_installer.ps1 b/bin/build_installer.ps1 index d528125..d5b37e0 100644 --- a/bin/build_installer.ps1 +++ b/bin/build_installer.ps1 @@ -50,7 +50,7 @@ Move-Item -Path "${CouchDB}\etc\vm.args" -Destination "${CouchDB}\etc\vm.args.di -replace "^writer = stderr", "writer = file" | Out-File "default.ini" # WiX skips empty directories, so we create a dummy logfile -Write-Output "New Log" | Out-File "${CouchDB}\var\log\couchdb.log" +New-Item -Name "${CouchDB}\var\log\couchdb.log" -ItemType File # Build our custom action. Push-Location CustomAction
