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 inputRoot = c.BuildContext.Get<string>("SharedHostPublishRoot");
|
||||||
var debFile = c.BuildContext.Get<string>("SharedHostInstallerFile");
|
var debFile = c.BuildContext.Get<string>("SharedHostInstallerFile");
|
||||||
var objRoot = Path.Combine(Dirs.Output, "obj", "debian", "sharedhost");
|
var objRoot = Path.Combine(Dirs.Output, "obj", "debian", "sharedhost");
|
||||||
|
var manPagesDir = Path.Combine(Dirs.RepoRoot, "Documentation", "manpages");
|
||||||
|
|
||||||
if (Directory.Exists(objRoot))
|
if (Directory.Exists(objRoot))
|
||||||
{
|
{
|
||||||
|
@ -77,7 +78,7 @@ namespace Microsoft.DotNet.Cli.Build
|
||||||
Directory.CreateDirectory(objRoot);
|
Directory.CreateDirectory(objRoot);
|
||||||
|
|
||||||
Cmd(Path.Combine(Dirs.RepoRoot, "scripts", "package", "package-sharedhost-debian.sh"),
|
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()
|
.Execute()
|
||||||
.EnsureSuccessful();
|
.EnsureSuccessful();
|
||||||
return c.Success();
|
return c.Success();
|
||||||
|
|
|
@ -57,6 +57,10 @@ while [[ $# > 0 ]]; do
|
||||||
--help)
|
--help)
|
||||||
help
|
help
|
||||||
;;
|
;;
|
||||||
|
-m|--manpages)
|
||||||
|
MANPAGE_DIR=$2
|
||||||
|
shift
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue