# HG changeset patch # User Ryan Pavlik # Date 1335399936 18000 # Node ID a866a8b8beabe44f7372e83db26f78ca25998fd5 # Parent 119ae345cd3315b7b48b6fb161c1e245f8f0e5a8 patch-tool: use relative directories diff -r 119ae345cd33 -r a866a8b8beab tools/patch-tool-mxe --- a/tools/patch-tool-mxe Wed Apr 25 19:25:22 2012 -0500 +++ b/tools/patch-tool-mxe Wed Apr 25 19:25:36 2012 -0500 @@ -7,10 +7,11 @@ 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