lmi-commits
[Top][All Lists]
Advanced

[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
     ;;
   (*)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]