mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Fix permission of installed definitinos
This commit is contained in:
parent
ce99decad5
commit
e58ac666c4
1 changed files with 7 additions and 1 deletions
|
@ -17,4 +17,10 @@ SHARE_PATH="${PREFIX}/share/python-build"
|
|||
mkdir -p "$BIN_PATH" "$SHARE_PATH"
|
||||
|
||||
install -p bin/* "$BIN_PATH"
|
||||
cp -RPp share/python-build/* "$SHARE_PATH"
|
||||
for share in share/python-build/*; do
|
||||
if [ -d "$share" ]; then
|
||||
cp -RPp "$share" "$SHARE_PATH"
|
||||
else
|
||||
install -p -m 0644 "$share" "$SHARE_PATH"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue