This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] mkvers.sh: Remove "function" to avoid dash objecting to bash-ism.
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 6 Apr 2017 16:17:59 -0000
- Subject: [newlib-cygwin] mkvers.sh: Remove "function" to avoid dash objecting to bash-ism.
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c6c7dfc493aa712b079780482d840d0e3ab66957
commit c6c7dfc493aa712b079780482d840d0e3ab66957
Author: Mark Geisert <mark@maxrnd.com>
Date: Wed Apr 5 22:20:09 2017 -0700
mkvers.sh: Remove "function" to avoid dash objecting to bash-ism.
Diff:
---
winsup/cygwin/mkvers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/cygwin/mkvers.sh b/winsup/cygwin/mkvers.sh
index 7e763e0..5aecb14 100755
--- a/winsup/cygwin/mkvers.sh
+++ b/winsup/cygwin/mkvers.sh
@@ -34,7 +34,7 @@ done
echo "**** Couldn't open file '$incfile'. Aborting."
}
-function parse_preproc_flags() {
+parse_preproc_flags() {
# Since we're manually specifying the preprocessor, pass the default flags
# normally defined.
ccflags="--preprocessor=$1 --preprocessor-arg=-E \