aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-11-29 22:22:35 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-11-29 22:22:35 +0300
commitcbd92de9d13052febd22d54cc4481e2e5ce73841 (patch)
tree319ebd5ebd910a6d5a19f9ee005f17d6fc40be17
parentrenamed the repo (diff)
downloadlinux-home-cbd92de9d13052febd22d54cc4481e2e5ce73841.tar.gz
linux-home-cbd92de9d13052febd22d54cc4481e2e5ce73841.zip
fix_permissions.sh: code style
Diffstat (limited to '')
-rwxr-xr-xfix_permissions.sh2
1 files changed, 2 insertions, 0 deletions
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 {} +