25fb843c40
The prior commit switched the recipe to `[source] path = "source"`, but .gitignore:77 still listed `local/recipes/shells/brush/source` (a leftover from when brush was a transient upstream git fetch), so the vendored tree was not tracked — a fresh clone would have no brush source and the build would fail. Drop that ignore line and commit the vendored working tree (reubeno/brush @ 897b373e, with the Redox port patches pre-applied). brush is now a durable local fork like the other path=source recipes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
28 lines
416 B
Bash
28 lines
416 B
Bash
function get-proc-stat-value() {
|
|
cat /proc/self/stat | cut -d ' ' --output-delimiter=, -f$1
|
|
}
|
|
|
|
function get-pid() {
|
|
get-proc-stat-value 1
|
|
}
|
|
|
|
function get-ppid() {
|
|
get-proc-stat-value 4
|
|
}
|
|
|
|
function get-pgrp() {
|
|
get-proc-stat-value 5
|
|
}
|
|
|
|
function get-session-id() {
|
|
get-proc-stat-value 6
|
|
}
|
|
|
|
function get-tty-nr() {
|
|
get-proc-stat-value 7
|
|
}
|
|
|
|
function get-term-pgid() {
|
|
get-proc-stat-value 8
|
|
}
|