From 01e1a34d434b203a94fe69d78203400dff419a74 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Sat, 11 Sep 2010 17:48:54 +0000 Subject: [PATCH] Make setup.sh a little more robust when resetting the data/ directory. Originally committed to SVN as r4779. --- aegisub/tests/setup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/aegisub/tests/setup.sh b/aegisub/tests/setup.sh index a4f8d41d7..c11e0e471 100755 --- a/aegisub/tests/setup.sh +++ b/aegisub/tests/setup.sh @@ -1,4 +1,6 @@ -chmod 664 data/* +chmod 777 data/* +chmod -R 777 data/ + rm -rf data mkdir -p data @@ -42,4 +44,4 @@ echo '{"Bool" : [{"bool" : true}, {"bool" : true}]}' > data/option_array_bool mkdir data/vfr mkdir data/vfr/in mkdir data/vfr/out -cp `dirname $0`/vfr/* data/vfr/in/ +cp vfr/* data/vfr/in/