mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
37 lines
1.4 KiB
Diff
37 lines
1.4 KiB
Diff
diff --git osc/conf.py osc/conf.py
|
|
index 07dfc0b9..b2ee13eb 100644
|
|
--- osc/conf.py
|
|
+++ osc/conf.py
|
|
@@ -1250,10 +1250,7 @@ class Options(OscOptions):
|
|
) # type: ignore[assignment]
|
|
|
|
build_cmd: str = Field(
|
|
- default=
|
|
- shutil.which("build", path="/usr/bin:/usr/lib/build:/usr/lib/obs-build")
|
|
- or shutil.which("obs-build", path="/usr/bin:/usr/lib/build:/usr/lib/obs-build")
|
|
- or "/usr/bin/build",
|
|
+ default="@@PREFIX@@/libexec/obs-build/build",
|
|
description=textwrap.dedent(
|
|
"""
|
|
Path to the 'build' tool.
|
|
@@ -1263,9 +1260,7 @@ class Options(OscOptions):
|
|
) # type: ignore[assignment]
|
|
|
|
download_assets_cmd: str = Field(
|
|
- default=
|
|
- shutil.which("download_assets", path="/usr/lib/build:/usr/lib/obs-build")
|
|
- or "/usr/lib/build/download_assets",
|
|
+ default="@@PREFIX@@/libexec/obs-build/download_assets",
|
|
description=textwrap.dedent(
|
|
"""
|
|
Path to the 'download_assets' tool used for downloading assets in SCM/Git based builds.
|
|
@@ -1275,7 +1270,7 @@ class Options(OscOptions):
|
|
) # type: ignore[assignment]
|
|
|
|
vc_cmd: str = Field(
|
|
- default=shutil.which("vc", path="/usr/lib/build:/usr/lib/obs-build") or "/usr/lib/build/vc",
|
|
+ default="@@PREFIX@@/libexec/obs-build/vc",
|
|
description=textwrap.dedent(
|
|
"""
|
|
Path to the 'vc' tool.
|