only ignore virtualenv directories at the top

To avoid collateral damage, only ignore the virtualenv directories if
they appear at the top of the working directory.

Also, only ignore lib64 if it is a directory (mostly to match the
other entries).
This commit is contained in:
Richard Hansen 2015-09-29 18:06:01 -04:00 committed by Richard Hansen
parent db08d874a6
commit d9be4c69a1

24
.gitignore vendored
View File

@ -17,18 +17,18 @@ MANIFEST
# top of salt such as
# - /some/path$ git clone https://github.com/thatch45/salt.git
# - /some/path$ virtualenv --python=/usr/bin/python2.6 salt
bin/
etc/
include/
lib/
lib64
local/
pip/
share/
tests/integration/tmp/
tests/cachedir/
tests/unit/templates/roots/
var/
/bin/
/etc/
/include/
/lib/
/lib64/
/local/
/pip/
/share/
/tests/integration/tmp/
/tests/cachedir/
/tests/unit/templates/roots/
/var/
# setuptools stuff
*.egg-info