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} git mv openstack/common oslo_${new_lib}
fi fi
rmdir openstack rmdir openstack
git mv tests/* oslo_${new_lib}/tests/ if [[ -d tests ]]; then
rmdir tests git mv tests/* oslo_${new_lib}/tests/
rmdir tests
fi
# Fix imports after moving files # Fix imports after moving files
echo "Fixing imports..." echo "Fixing imports..."