summaryrefslogtreecommitdiffstats
path: root/tools/patch-tool-mxe
diff options
context:
space:
mode:
authorRyan Pavlik <rpavlik@iastate.edu>2012-04-26 00:25:36 (GMT)
committerMark Brand <mabrand@mabrand.nl>2012-06-13 16:22:32 (GMT)
commitb69f2a51c167af0da227db638ce1c651fa3bb54d (patch)
treeb05b32e82285891278079f62a43c9caaa752a847 /tools/patch-tool-mxe
parent519657fbf9ed6fd1ef3b6f496d1e985121540c19 (diff)
downloadmxe-b69f2a51c167af0da227db638ce1c651fa3bb54d.zip
mxe-b69f2a51c167af0da227db638ce1c651fa3bb54d.tar.gz
mxe-b69f2a51c167af0da227db638ce1c651fa3bb54d.tar.bz2
patch-tool: use relative directories
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>