manylinux-common: Fix pip install change ownership of "man" and "share" dir

This commit will fix installation of packages like nose that would otherwise
fail to install with error like the following:

  Installing collected packages: nose
  Exception:
  Traceback (most recent call last):
  [...]
  Permission denied: '/opt/_internal/cpython-2.7.11-ucs2/man'
This commit is contained in:
Jean-Christophe Fillion-Robin 2017-01-18 15:02:18 -05:00
parent 0eaea01158
commit 66a33a7647
No known key found for this signature in database
GPG Key ID: 15C1A2812F958BD3

View File

@ -6,3 +6,10 @@ done
for DIR in /opt/python/*/bin; do
chown -R $BUILDER_UID:$BUILDER_GID $DIR
done
for DIR in /opt/python/*; do
mkdir $DIR/man
chown -R $BUILDER_UID:$BUILDER_GID $DIR/man
done
for DIR in /opt/python/*/share; do
chown -R $BUILDER_UID:$BUILDER_GID $DIR
done