[newlib-cygwin] mkvers.sh: Remove "function" to avoid dash objecting to bash-ism.
Corinna Vinschen
corinna@sourceware.org
Thu Apr 6 16:17:00 GMT 2017
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 \
More information about the Cygwin-cvs
mailing list