Skip to content

Commit

Permalink
Fix permission of installed definitinos
Browse files Browse the repository at this point in the history
  • Loading branch information
Yamashita Yuu committed Feb 9, 2014
1 parent ce99dec commit e58ac66
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion plugins/python-build/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e58ac66

Please sign in to comment.