diff options
author | Safey A.Halim <safey.allah@gmail.com> | 2010-10-22 08:26:04 +0000 |
---|---|---|
committer | Safey A.Halim <safey.allah@gmail.com> | 2010-10-22 08:26:04 +0000 |
commit | cebd65e93729bac432f3bc9cde72db27e7ae9983 (patch) | |
tree | eaf08768f994e5b26b5e700e9798ae31a54524e9 /bin | |
parent | 58d9e7da240d42030d5a14a27e74af118d6bc005 (diff) |
jtb script checks for the existence of the syntax tree hierarchy before creating it.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/jtb | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,6 +3,8 @@ MYDIR=`dirname $0` JTB_JAR=`echo ${MYDIR}/../contrib/jtb.jar` cd "$@" -mkdir -p org/gnunet/seaspider/parser +if [ -d "org/gnunet/seaspider/parser" ]; then + mkdir -p org/gnunet/seaspider/parser +fi cd org/gnunet/seaspider/parser java -jar $JTB_JAR -printer -jd -np org.gnunet.seaspider.parser.nodes -vp org.gnunet.seaspider.parser.visitors -o C.out.jj "$@/C.jj"
\ No newline at end of file |