Skip to content

Commit

Permalink
add directory management to batch_rnc2rng.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
greenTara committed May 18, 2014
1 parent ffbf033 commit 738d7a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bash/batch_rnc2rng.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ CP2=${LIB}trang-20091111/trang.jar
# convert all MYNG modules to RNG in preparation
# for validation against the schema for the design pattern
cd ../relaxng/modules/
rm ../tmp/modules/*
rmdir ../tmp/modules
mkdir ../tmp/modules
for file in *.rnc
do
java -jar "${CP2}" "${file}" "../tmp/modules/${file}.rng"
Expand Down

0 comments on commit 738d7a2

Please sign in to comment.