Skip to content

Commit 0aab4d1

Browse files
again
1 parent 0c39775 commit 0aab4d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/create_pkg.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Behavior:
1010
- Expects a manifest.acl file at the top of <src_dir>.
1111
- Produces <out_root>/<name>/<ver>/<name>-<ver>.pkg
12-
- ALWAYS uses build/arch. If build/arch is missing, attempts to compile src/arch.c -> build/arch.
12+
- ALWAYS uses build/arch. If build/arch is missing, attempts to compile src/core/arch.c -> build/arch.
1313
- If compilation or arch invocation fails, the script exits with non-zero (no tar fallback).
1414
- Computes SHA256 and updates (or inserts) archive_sha256 in manifest.acl.
1515
"""
@@ -75,17 +75,17 @@ def ensure_parent(path: Path) -> None:
7575

7676
def arch_executable() -> Path:
7777
"""
78-
Return the Path to build/arch. If missing, attempt to compile src/arch.c into it.
78+
Return the Path to build/arch. If missing, attempt to compile src/core/arch.c into it.
7979
If compilation fails, raise RuntimeError.
8080
"""
8181
out_path = Path("build") / "arch"
8282
if out_path.is_file() and os.access(out_path, os.X_OK):
8383
return out_path
8484

85-
# attempt to build from src/arch.c
85+
# attempt to build from src/core/arch.c
8686
src_c = Path("src") / "arch.c"
8787
if not src_c.is_file():
88-
raise RuntimeError("build/arch not found and src/arch.c missing; cannot proceed")
88+
raise RuntimeError("build/arch not found and src/core/arch.c missing; cannot proceed")
8989

9090
out_dir = out_path.parent
9191
out_dir.mkdir(parents=True, exist_ok=True)

0 commit comments

Comments
 (0)