Skip to content
Snippets Groups Projects
Commit e31ffb27 authored by Taylor Yu's avatar Taylor Yu
Browse files

Don't move gcov output to root directory

In scripts/test/coverage, avoid attempting to move gcov output files
to the root directory when given no arguments.  Fixes bug 23741.
parent dddae36f
No related branches found
No related tags found
No related merge requests found
o Minor bugfixes (testing):
- Prevent scripts/test/coverage from attempting to move gcov
output to the root directory. Fixes bug 23741; bugfix on
0.2.5.1-alpha.
......@@ -29,7 +29,7 @@ for fn in src/or/*.c src/common/*.c; do
gcov -o $on $fn
if [ -e $GC ]
then
if [ -n $dst ]
if [ -d "$dst" ]
then
mv $GC $dst/$GC
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment