From cbd92de9d13052febd22d54cc4481e2e5ce73841 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 29 Nov 2017 22:22:35 +0300 Subject: fix_permissions.sh: code style --- fix_permissions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fix_permissions.sh b/fix_permissions.sh index 8223002..eb8a98c 100755 --- a/fix_permissions.sh +++ b/fix_permissions.sh @@ -11,4 +11,6 @@ set -o errexit -o nounset -o pipefail script_dir="$( dirname -- "${BASH_SOURCE[0]}" )" script_dir="$( cd -- "$script_dir" && pwd )" +readonly script_dir + find "$script_dir" -mindepth 1 -path "$script_dir/.git" -prune -o -exec chmod go-w {} + -- cgit v1.2.3