lotherk 71ccd4b0b9 pkgchroot: force builds the package it was named, not its category
sandbox_run() assigned c=$1 and p=${1%/*} without local, so the second
sandbox_run in force's loop saw p=wm instead of p=wm/mcde: `pkgchroot force
wm/mcde` cleaned mcde and then ran `make -C /mnt/pkgsrc/wm reinstall`, a bulk
reinstall of every window manager in the category (measured 2026-11-22 on the
MacBook: after "Cleaning for mcde-0.1.0" it began to fetch 2bwm and afterstep).

The variables are prefixed (sr_path, sr_dir) so they cannot collide with a
caller's loop variable.

Measured: sh -n tools/pkgchroot.sh rc=0.
2026-11-22 11:29:52 +01:00
2026-11-19 10:43:15 +01:00
S
Description
The Modern Unix Workstation OS
https://makronix.hiddenbox.org
7.1 GiB
0 Stars 3 Watchers 0 Forks
Languages
C 83.2%
Roff 5.6%
Assembly 5.3%
Shell 1.5%
Makefile 1.3%
Other 2.6%