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

This commit is contained in:
Carl Dong committed 2021-01-08 11:40:01 -05:00
1 parent d27ff8b86a
commit 0b7cd07bb5
2 files changed
+6 -4

No files matched your search

-4
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