mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
66a33a7647
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'
16 lines
374 B
Bash
Executable File
16 lines
374 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for DIR in /opt/python/*/lib/python*/site-packages; do
|
|
chown -R $BUILDER_UID:$BUILDER_GID $DIR
|
|
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
|