Mercurial > mxe-octave
comparison tools/patch-tool-mxe @ 2591:18ccf1818b74
patch tool: Ensure the gits directory exists
author | Ryan Pavlik <rpavlik@iastate.edu> |
---|---|
date | Wed, 25 Apr 2012 19:25:45 -0500 |
parents | 35e225e1b841 |
children | d9f6c4ade221 |
comparison
equal
deleted
inserted
replaced
2590:35e225e1b841 | 2591:18ccf1818b74 |
---|---|
10 mxedir=$(cd $(dirname $0) && cd .. && pwd) | 10 mxedir=$(cd $(dirname $0) && cd .. && pwd) |
11 | 11 |
12 # directory for unpacked tarballs/git repos | 12 # directory for unpacked tarballs/git repos |
13 gitsdir=${mxedir}/gits | 13 gitsdir=${mxedir}/gits |
14 | 14 |
15 mkdir -p ${gitsdir} | |
15 | 16 |
16 | 17 |
17 # John Doe <John Doe@acme.org> | 18 # John Doe <John Doe@acme.org> |
18 author=`git var GIT_AUTHOR_IDENT | sed 's/^\(.* [<].*[>]\).*$/\1/'` | 19 author=`git var GIT_AUTHOR_IDENT | sed 's/^\(.* [<].*[>]\).*$/\1/'` |
19 | 20 |