8000 Keep the roff file when gzipping it. (#24450) (#24452) · PowerShell/PowerShell@ce13ac8 · GitHub
[go: up one dir, main page]

Skip to content

Commit ce13ac8

Browse files
Keep the roff file when gzipping it. (#24450) (#24452)
1 parent 4898749 commit ce13ac8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,9 @@ logfile/*
9898

9999
# Ignore nuget.config because it is dynamically generated
100100
nuget.config
101+
102+
# Ignore MSBuild Binary Logs
103+
msbuild.binlog
104+
105+
# Ignore gzip files in the manpage folder
106+
assets/manpage/*.gz

tools/packaging/packaging.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,7 @@ function New-ManGzip
16091609
# gzip in assets directory
16101610
$GzipFile = "$RoffFile.gz"
16111611
Write-Log "Creating man gz - running gzip..."
1612-
Start-NativeExecution { gzip -f $RoffFile } -VerboseOutputOnError
1612+
Start-NativeExecution { gzip -kf $RoffFile } -VerboseOutputOnError
16131613

16141614
$ManFile = Join-Path "/usr/local/share/man/man1" (Split-Path -Leaf $GzipFile)
16151615

0 commit comments

Comments
 (0)
0