Commit da6ad3f5 authored by Ignacio Pisso's avatar Ignacio Pisso
Browse files

test existence of options dir in test 0 before copy to avoid error message

parent 988b0bd9
...@@ -21,7 +21,7 @@ mkdir $test_tmp ...@@ -21,7 +21,7 @@ mkdir $test_tmp
#copy default optios #copy default optios
cp -r $options_default $test_tmp/options cp -r $options_default $test_tmp/options
#override default options #override default options
if [ "$(ls -A ${test_dir}/options)" ]; then if [ -d "$test_dir" && "$(ls -A ${test_dir}/options)" ]; then
cp -r ${test_dir}/options/* $test_tmp/options/ cp -r ${test_dir}/options/* $test_tmp/options/
fi fi
# copy paths form repo source exec tmp dir # copy paths form repo source exec tmp dir
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment