Merge "Adjust script to skip tests if directory not present"

This commit is contained in:
Jenkins 2015-10-23 17:13:45 +00:00 committed by Gerrit Code Review
commit 170462a810
1 changed files with 4 additions and 2 deletions

View File

@ -66,8 +66,10 @@ else
git mv openstack/common oslo_${new_lib}
fi
rmdir openstack
git mv tests/* oslo_${new_lib}/tests/
rmdir tests
if [[ -d tests ]]; then
git mv tests/* oslo_${new_lib}/tests/
rmdir tests
fi
# Fix imports after moving files
echo "Fixing imports..."