mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-10 07:36:16 -04:00
Fix permission of installed definitinos
This commit is contained in:
parent
ce99decad5
commit
e58ac666c4
|
|
@ -17,4 +17,10 @@ SHARE_PATH="${PREFIX}/share/python-build"
|
||||||
mkdir -p "$BIN_PATH" "$SHARE_PATH"
|
mkdir -p "$BIN_PATH" "$SHARE_PATH"
|
||||||
|
|
||||||
install -p bin/* "$BIN_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