guix: Move OUTDIR determination+creation to guix-build.sh

This commit is contained in:
Carl Dong
2020-12-21 15:26:23 -05:00
parent d27ff8b86a
commit 0b7cd07bb5
2 changed files with 6 additions and 4 deletions

View File

@@ -23,10 +23,6 @@ echo "At most ${MAX_JOBS:?not set} jobs will run at once..."
# $HOSTs after successfully building.
BASEPREFIX="${PWD}/depends"
# Setup an output directory for our build
OUTDIR="${OUTDIR:-${PWD}/output}"
[ -e "$OUTDIR" ] || mkdir -p "$OUTDIR"
# Setup the directory where our Bitcoin Core build for HOST will occur
DISTSRC="${DISTSRC:-${PWD}/distsrc-${HOST}}"
if [ -e "$DISTSRC" ]; then