diff options
| author | Danilo M. <danix@danix.xyz> | 2026-07-14 15:29:45 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-07-14 15:29:45 +0200 |
| commit | e129f089e9e014366591808fc48ad5ccce37858c (patch) | |
| tree | 4e17baa3b35ffe13404757b319a47b463f58e01b /SecLists | |
| parent | e4edbf22caf1558217ea9aff43a81dd4b5263516 (diff) | |
| download | sbo-slackbuilds-e129f089e9e014366591808fc48ad5ccce37858c.tar.gz sbo-slackbuilds-e129f089e9e014366591808fc48ad5ccce37858c.zip | |
test-build: target the local SlackBuild (CWD/path), deps from the tree
The tool resolved the target package from the SBo tree, so it tested the
already-published version, not the local edit under test. Useless for the
maintenance workflow, where the point is to verify an edited SlackBuild while
its deps come from the tree.
resolve_target_dir now takes the target from where you are:
- a path (absolute, ./x, or containing /): that dir
- a bare name: ./<name>/ under CWD, else CWD itself if it IS <name>/
Repo-agnostic; deps still resolve from the configured SBo tree via
find_slackbuild_dir. Add four target-resolution self-checks.
Also source /etc/profile.d/*.sh in the build container before running the
SlackBuild: the heredoc is a non-login shell, so a bare `go build` picked the
system gccgo 1.18 instead of the installed google-go-lang; sourcing profile.d
activates dep-provided env (GOROOT/PATH, cargo, ...) as a real login build would.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'SecLists')
0 files changed, 0 insertions, 0 deletions
