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. > > |