diff options
author | Ryan Pavlik <rpavlik@iastate.edu> | 2012-04-26 00:25:36 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2012-06-13 16:22:32 (GMT) |
commit | b69f2a51c167af0da227db638ce1c651fa3bb54d (patch) | |
tree | b05b32e82285891278079f62a43c9caaa752a847 | |
parent | 519657fbf9ed6fd1ef3b6f496d1e985121540c19 (diff) | |
download | mxe-b69f2a51c167af0da227db638ce1c651fa3bb54d.zip mxe-b69f2a51c167af0da227db638ce1c651fa3bb54d.tar.gz mxe-b69f2a51c167af0da227db638ce1c651fa3bb54d.tar.bz2 |
patch-tool: use relative directories
-rwxr-xr-x | tools/patch-tool-mxe | 5 |
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> |