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

Tomasz Chmielewski mangoo at wpkg.org
Sun Jun 22 15:06:16 CEST 2008


Anon Sricharoenchai schrieb:
> According to http://wpkg.org/Cygwin,
> 
> Can anyone tell me about,
> 
> === cygwin-root ===
>  <install cmd='cmd /c xcopy /y /S %SOFTWARE%\cygwin\Cygwin-Root c:\cygwin\ ' />
> 
> Why we need this?

I guess one can keep own binaries/libraries in 
%SOFTWARE%\cygwin\Cygwin-Root? Just a guess.


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

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


-- 
Tomasz Chmielewski
http://wpkg.org




More information about the wpkg-users mailing list