This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]