Adjust script to skip tests if directory not present
Closes-Bug: #1507683 Change-Id: Ifcba3584ba769f5be4309e5a357947cfe8f08d62
This commit is contained in:
parent
1fa8ef28b0
commit
d64e83d9dd
@ -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..."
|
||||
|
Loading…
Reference in New Issue
Block a user