[ITP] re2c (3rd try)
Gerrit P. Haase
gerrit@familiehaase.de
Wed May 19 12:09:00 GMT 2004
Hi Max schri
> The original intent (AFAICS) was for you to be able to simply use
> the contents of lnconf.sh as ${srcdir}/configure, and then use an
> unmodified g-b-s. Unfortunately, that plan is spoilt, because patch
> doesn't restore the execute mode on new files. You can avoid
> that by calling it via sh:
Ah well, it needs to be in the source directory where configure is.
Well, I thought it would act like `lndir <frompath>` which symlinks the
frompath to pwd. And I think it should do this, regardless where the
script is located!
> conf() {
> (cd ${objdir} && \
> sh ${srcdir}/lnconf.sh )
> }
> Although, it would be more convenient if g-b-s did:
> if [ -f ${srcdir}/lnconf.sh ]; then
> # do the above
> else
> # do the existing configure code
> fi
Looks ok.
Gerrit
--
=^..^=
More information about the Cygwin-apps
mailing list