aboutsummaryrefslogtreecommitdiff
path: root/mingw-w64-build
diff options
context:
space:
mode:
Diffstat (limited to 'mingw-w64-build')
-rwxr-xr-xmingw-w64-build3
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"