mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 04:55:48 +03:00
Fix work build path used in mac crafter packaging stage
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
57b1e12c16
commit
5d21a294ad
1 changed files with 2 additions and 3 deletions
|
@ -193,7 +193,6 @@ struct Build: ParsableCommand {
|
|||
|
||||
let allOptionsString = craftOptions.map({ "--options \"\($0)\"" }).joined(separator: " ")
|
||||
|
||||
let buildWorkPath = "\(buildPath)/\(craftTarget)/build"
|
||||
let clientBuildDir = "\(buildPath)/\(craftTarget)/build/\(craftBlueprintName)"
|
||||
if fullRebuild {
|
||||
do {
|
||||
|
@ -230,8 +229,8 @@ struct Build: ParsableCommand {
|
|||
|
||||
if package {
|
||||
print("Creating pkg file for client…")
|
||||
let packagePath =
|
||||
try buildPackage(
|
||||
let buildWorkPath = "\(clientBuildDir)/work/build"
|
||||
let packagePath = try buildPackage(
|
||||
appName: appName,
|
||||
buildWorkPath: buildWorkPath,
|
||||
productPath: productPath
|
||||
|
|
Loading…
Reference in a new issue