Remove "function" from line to avoid dash objecting to this bash-ism

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Apr 6 16:18:00 GMT 2017


On Apr  5 23:00, Mark Geisert wrote:
> I've been home-building the last few versions of Cygwin DLL on Windows where
> I routinely have dash set as my non-interactive shell.  The only issue I run
> into is this one occurrence of the 'function' keyword in
> winsup/cygwin/mkvers.sh.  This patch gets rid of the keyword.
> 
> FWIW using dash instead of bash has the build running 5%-10% faster.
> Cheers,
> 
> ..mark
> 
> > From fb9db7a75c7e391f451cb1df3c1e8463ef4c7bf3 Mon Sep 17 00:00:00 2001
> From: Mark Geisert <mark@maxrnd.com>
> Date: Wed, 5 Apr 2017 22:20:09 -0700
> Subject: [PATCH] Remove "function" from line to avoid dash objecting to this
> bash-ism.

Applied.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20170406/df8c8166/attachment.sig>


More information about the Cygwin-patches mailing list