Prevent symlinks to be added to the tree

Symlinks cannot be allowed because they are not supported by distutils.
Adding them results into package build failures.

This patch add a check that verifies that no symlinks can slip in.

Closes-bug: #1404605

Change-Id: I0d308127081bb2fa4ff7d7e0ed2f1b6e915163c9
This commit is contained in:
armando-migliaccio 2014-12-20 20:55:35 -08:00
parent 3a0411dce5
commit 3bf7e45742
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ downloadcache = ~/cache/pip
[testenv:pep8]
commands =
sh -c "if [ $(find . -type l ! -path '*.tox*' | wc -l) -ge 1 ]; then echo 'Symlinks are not allowed!' && exit 1; fi"
sh ./tools/check_bash.sh
flake8
neutron-db-manage check_migration