Make setup.sh a little more robust when resetting the data/ directory.

Originally committed to SVN as r4779.
This commit is contained in:
Amar Takhar 2010-09-11 17:48:54 +00:00
parent c33c5f647d
commit 01e1a34d43
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
chmod 664 data/* chmod 777 data/*
chmod -R 777 data/
rm -rf data rm -rf data
mkdir -p data mkdir -p data
@ -42,4 +44,4 @@ echo '{"Bool" : [{"bool" : true}, {"bool" : true}]}' > data/option_array_bool
mkdir data/vfr mkdir data/vfr
mkdir data/vfr/in mkdir data/vfr/in
mkdir data/vfr/out mkdir data/vfr/out
cp `dirname $0`/vfr/* data/vfr/in/ cp vfr/* data/vfr/in/