Fix void-kernel output directory setup
Replace the stale `RUNTIME_DIR` mkdir in the experimental Void kernel helper with creation of the parent directory for `OUT_DIR`, which is the current BANGER_MANUAL_DIR/custom --out-dir flow used by the Make target. This restores `make void-kernel` without requiring an extra environment override. Validation: make void-kernel ARGS='--out-dir /tmp/banger-void-kernel-verify-$$'.
This commit is contained in:
parent
5f89c07fc0
commit
70bc6d07d0
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ if [[ "$ARCH" != "x86_64" ]]; then
|
||||||
log "this experimental downloader currently supports only x86_64"
|
log "this experimental downloader currently supports only x86_64"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
mkdir -p "$RUNTIME_DIR"
|
mkdir -p "$(dirname "$OUT_DIR")"
|
||||||
if [[ -e "$OUT_DIR" ]]; then
|
if [[ -e "$OUT_DIR" ]]; then
|
||||||
log "output directory already exists: $OUT_DIR"
|
log "output directory already exists: $OUT_DIR"
|
||||||
log "remove it first if you want to re-stage a different Void kernel"
|
log "remove it first if you want to re-stage a different Void kernel"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue