Le Sat, Oct 30, 2021 at 08:14:22PM +0100, Stuart Henderson a écrit :
> (for those that didn't see the start of this, landry was hitting E2BIG
> because the shell command line was too long with all the damn modules
> on something he was porting..)
>
> On 2021/10/30 19:41, Stuart Henderson wrote:
> > > > -. endfor
> > > > +MODGO_SETUP_WORKSPACE = ln -sf ${WRKSRC}
> > > > ${WRKDIR}/${MODGO_MODNAME}; \
> > >
> > > cd ${DISTDIR}; here allow getting rid of the repeated dirs in the install
> > > line
> > >
> > > > + for m in ${_MODGO_SETUP}; do \
> > > > + ${INSTALL} -D ${DISTDIR}/$$m ${WRKDIR}/$$m; \
> > >
> > > ${INSTALL} -D {,${WRKDIR}/$$m; \
> >
> > typo, I meant:
> >
> > ${INSTALL} -D {,${WRKDIR}}/$$m; \
>
> and I messed up my typo fix too :/ anyway with the shell loop I
> suppose this doesn't help much anyway.
>
> we can factor out some repeated MODGO_DIST_SUBDIR and .mod / .zip
> though:
Bah, mails crossed .. your version makes more sense :)