summaryrefslogtreecommitdiffstats
path: root/tools/patch-tool-mxe
diff options
context:
space:
mode:
Diffstat (limited to 'tools/patch-tool-mxe')
-rwxr-xr-xtools/patch-tool-mxe5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/patch-tool-mxe b/tools/patch-tool-mxe
index 30580bc..3937c9c 100755
--- a/tools/patch-tool-mxe
+++ b/tools/patch-tool-mxe
@@ -7,10 +7,11 @@ cmd=$1
pkg=$2
# MXE directory
-mxedir=~/mxe
+mxedir=$(cd $(dirname $0) && cd .. && pwd)
# directory for unpacked tarballs/git repos
-gitsdir=~/gits
+gitsdir=${mxedir}/gits
+
# John Doe <John Doe@acme.org>