[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] Experimental 'shellcheck' patch for cygwin
From: |
Greg Chicares |
Subject: |
[lmi] Experimental 'shellcheck' patch for cygwin |
Date: |
Fri, 31 May 2019 14:53:01 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
---------8<--------8<--------8<--------8<--------8<--------8<--------8<-------
diff --git a/check_script.sh b/check_script.sh
index ebfddb8c..1bfe7fe3 100755
--- a/check_script.sh
+++ b/check_script.sh
@@ -21,9 +21,16 @@
# email: <address@hidden>
# snail: Chicares, 186 Belle Woods Drive, Glastonbury CT 06033, USA
+# Do nothing for cygwin, which has no 'shellcheck' package.
+
+lmi_build_type=$(/usr/share/libtool/build-aux/config.guess)
+case "$lmi_build_type" in
+ (*-*-cygwin*) exit 0 ;;
+esac
+
# Skip:
# - empty argument: no script to check
-# - git's default hooks: the maintainers don't use shellcheck
+# - git's default hooks: the maintainers don't use 'shellcheck'
# - tabs/ scripts: they're extraordinary
case "$1" in
--------->8-------->8-------->8-------->8-------->8-------->8-------->8-------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi] Experimental 'shellcheck' patch for cygwin,
Greg Chicares <=