archiso: make WORK_DIR and OUT_DIR overridable via env vars
/tmp fills up during large builds; allow redirecting both dirs without editing the script (WORK_DIR=~/iso-work ./build.sh ~/iso-out). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main
parent
39f31f9d46
commit
ecd272cdce
|
|
@ -3,8 +3,8 @@ set -euo pipefail
|
|||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
DOTFILES_DIR="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
||||
WORK_DIR="/tmp/m-archy-build"
|
||||
OUT_DIR="${1:-/tmp/m-archy-out}"
|
||||
WORK_DIR="${WORK_DIR:-/tmp/m-archy-build}"
|
||||
OUT_DIR="${1:-${OUT_DIR:-/tmp/m-archy-out}}"
|
||||
PROFILE="$WORK_DIR/profile"
|
||||
RELENG="/usr/share/archiso/configs/releng"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue