aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xfix_permissions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/fix_permissions.sh b/fix_permissions.sh
index 65974b9..ff0489b 100755
--- a/fix_permissions.sh
+++ b/fix_permissions.sh
@@ -4,4 +4,4 @@ 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 ./.git -prune -o -exec chmod g-w {} +
+find "$script_dir" -mindepth 1 -path "$script_dir/.git" -prune -o -exec chmod g-w {} +