aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fix_permissions.sh
blob: ff0489b12f89dcaa0183e1687d8d8baa34f65597 (plain) (blame)
1
2
3
4
5
6
7
#!/usr/bin/env bash

set -o errexit -o nounset -o pipefail

script_dir="$( dirname -- "${BASH_SOURCE[0]}" )"
script_dir="$( cd -- "$script_dir" && pwd )"
find "$script_dir" -mindepth 1 -path "$script_dir/.git" -prune -o -exec chmod g-w {} +