small fix to pass manpage path to packaging script
This commit is contained in:
parent
ab14fb1437
commit
2abedf79e2
2 changed files with 6 additions and 1 deletions
|
@ -68,6 +68,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
var inputRoot = c.BuildContext.Get<string>("SharedHostPublishRoot");
|
||||
var debFile = c.BuildContext.Get<string>("SharedHostInstallerFile");
|
||||
var objRoot = Path.Combine(Dirs.Output, "obj", "debian", "sharedhost");
|
||||
var manPagesDir = Path.Combine(Dirs.RepoRoot, "Documentation", "manpages");
|
||||
|
||||
if (Directory.Exists(objRoot))
|
||||
{
|
||||
|
@ -77,7 +78,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
Directory.CreateDirectory(objRoot);
|
||||
|
||||
Cmd(Path.Combine(Dirs.RepoRoot, "scripts", "package", "package-sharedhost-debian.sh"),
|
||||
"--input", inputRoot, "--output", debFile, "--obj-root", objRoot, "--version", version)
|
||||
"--input", inputRoot, "--output", debFile, "--obj-root", objRoot, "--version", version, "-m", manPagesDir)
|
||||
.Execute()
|
||||
.EnsureSuccessful();
|
||||
return c.Success();
|
||||
|
|
|
@ -57,6 +57,10 @@ while [[ $# > 0 ]]; do
|
|||
--help)
|
||||
help
|
||||
;;
|
||||
-m|--manpages)
|
||||
MANPAGE_DIR=$2
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
break
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue