diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-10-26 14:23:49 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-10-26 14:23:49 +0200 |
commit | 9153bfcb3aa35af500be29e5b091312ded5912c9 (patch) | |
tree | 3f706242b82889a6180e54629c0de8df9b906ff0 | |
parent | a827158c818e4406e98e533d8e37f6b21bf90060 (diff) |
Ability to change the ROOT_PATH via env.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rwxr-xr-x | mingw-w64-build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mingw-w64-build b/mingw-w64-build index c908179..4c8ce5b 100755 --- a/mingw-w64-build +++ b/mingw-w64-build @@ -16,7 +16,8 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. # -ROOT_PATH="$HOME/.zeranoe/mingw-w64" +ROOT_PATH="${ROOT_PATH:-$HOME/.zeranoe/mingw-w64}" +ROOT_PATH="$(realpath ${ROOT_PATH})" SRC_PATH="$ROOT_PATH/src" BLD_PATH="$ROOT_PATH/bld" LOG_FILE="$ROOT_PATH/build.log" |