projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58d9e7d
)
jtb script checks for the existence of the syntax tree hierarchy before creating it.
author
Safey A.Halim
<safey.allah@gmail.com>
Fri, 22 Oct 2010 08:26:04 +0000
(08:26 +0000)
committer
Safey A.Halim
<safey.allah@gmail.com>
Fri, 22 Oct 2010 08:26:04 +0000
(08:26 +0000)
bin/jtb
patch
|
blob
|
history
diff --git
a/bin/jtb
b/bin/jtb
index 8f23675cec60442626bf7398f1e827f9bd7a70fb..4656486fcecb1a7546ea670fab7a6f514645c403 100755
(executable)
--- a/
bin/jtb
+++ b/
bin/jtb
@@
-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