[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 5451a41 6/6: Improve documentation
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 5451a41 6/6: Improve documentation |
Date: |
Wed, 22 May 2019 15:27:40 -0400 (EDT) |
branch: master
commit 5451a4178114e2c7d7b0e141d8e6d4e90c69f0aa
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Improve documentation
---
check_git_setup.sh | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/check_git_setup.sh b/check_git_setup.sh
index a61e949..6e033a0 100755
--- a/check_git_setup.sh
+++ b/check_git_setup.sh
@@ -30,22 +30,23 @@ printf '"%s" is current directory\n' "$PWD"
printf '"%s" is git toplevel directory\n' "$toplevel"
[ "$PWD" = "$toplevel" ] || { printf 'fail: PWD is not toplevel\n'; exit 1; }
-# For msw (cygwin) only, force correct permissions, and make sure
-#'core.filemode' is "false". See:
+# For msw (cygwin) only, remove incorrect execute permissions
+# (natively-created files default to "rwx"), and make sure
+# 'core.filemode' is "false". See:
# https://lists.nongnu.org/archive/html/lmi/2017-11/msg00018.html
lmi_build_type=$(/usr/share/libtool/build-aux/config.guess)
case "$lmi_build_type" in
(*-*-cygwin*)
printf 'cygwin detected\n'
- printf 'forcing correct permissions '
+ printf 'removing incorrect execute permissions...'
for d in . gwc; do (\
printf '%s...' "$d" \
&& find ./$d -maxdepth 1 -type f \
-not -name '*.sh' -not -name '*.sed' \
| xargs chmod -x \
)done; \
- printf 'all permissions forced\n'
+ printf 'all incorrect execute permissions removed\n'
git config core.filemode false
;;
(*)
- [lmi-commits] [lmi] master updated (548812c -> 5451a41), Greg Chicares, 2019/05/22
- [lmi-commits] [lmi] master fbe3879 3/6: Assert a precondition; improve documentation, Greg Chicares, 2019/05/22
- [lmi-commits] [lmi] master f2621cd 4/6: Apply 'e_script' coding rules to hash-bang files, Greg Chicares, 2019/05/22
- [lmi-commits] [lmi] master 5a7e4c1 5/6: Check concinnity of hooks/, Greg Chicares, 2019/05/22
- [lmi-commits] [lmi] master 4638d55 1/6: Fix defect committed 20190518T1712Z: script might not be in $PWD, Greg Chicares, 2019/05/22
- [lmi-commits] [lmi] master 0dfb9cb 2/6: Parameterize directory tested by 'make check_concinnity', Greg Chicares, 2019/05/22
- [lmi-commits] [lmi] master 5451a41 6/6: Improve documentation,
Greg Chicares <=