Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Set default dependency build location and prefix to ~/Downloads and /…
Browse files Browse the repository at this point in the history
…usr/local for simplicity
  • Loading branch information
MintoDA1 authored and MintoDA1 committed Sep 25, 2023
1 parent e13383f commit c3e3f39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildscripts/_build_getopts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ while getopts ":d:p:m:h" ARG; do
esac
done

BUILD_DIR=${BUILD_DIR:-$(mktemp -ut swiftest_build.XXXXXXXX)}
PREFIX=${PREFIX:-${ROOT_DIR}}
BUILD_DIR=${BUILD_DIR:-"${HOME}/Downloads"}
PREFIX=${PREFIX:-"/usr/local"}
DEPENDENCY_DIR=${DEPENDENCY_DIR:-${BUILD_DIR}}

mkdir -p ${DEPENDENCY_DIR}
Expand Down

0 comments on commit c3e3f39

Please sign in to comment.