diff options
author | Ryan Pavlik <rpavlik@iastate.edu> | 2012-04-26 00:25:36 (GMT) |
---|---|---|
committer | Ryan Pavlik <rpavlik@iastate.edu> | 2012-05-07 17:56:50 (GMT) |
commit | 07c4050afc77598406aafc7c1e8e91bca00bf41c (patch) | |
tree | 020c5238038298386846b3947db75d3a0f77d230 | |
parent | 16e9c2f2afddfbde9fe25f851923e669d1ef77a3 (diff) | |
download | mxe-07c4050afc77598406aafc7c1e8e91bca00bf41c.zip mxe-07c4050afc77598406aafc7c1e8e91bca00bf41c.tar.gz mxe-07c4050afc77598406aafc7c1e8e91bca00bf41c.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> |