[wpkg-users] question on http://wpkg.org/Cygwin

Anon Sricharoenchai anon.hui at gmail.com
Mon Jun 23 05:22:22 CEST 2008


On 6/22/08, Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> > === bash -c ===
> >  <install cmd='c:\cygwin\bin\bash -c
> > PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
> /usr/bin/cyg-apt.py
> > update' />
> >
> > Why not having quote surround bash command, like this?,
> >
> >  c:\cygwin\bin\bash -c
> > "PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
> /usr/bin/cyg-apt.py
> > update"
> >
>
>  It shouldn't make a difference here.
>  In both cases "update" would be passed as a positional parameter to
> /usr/bin/cyg-apt.py.
>

But from my experiment,

   $ bash -c /bin/echo update

bash -c without quote, doesn't recognize the remaining argument.

>  Furthermore, I don't think specifying "PATH" makes any difference here.
>
>



More information about the wpkg-users mailing list