On Oct 14, 2007, at 13:33 , Luis Lavena wrote:
> Question: we should care about Win9x users? I don't want, since I
> could use extensions only available in CMD.exe:
>
> @ECHO OFF
> IF NOT "%~f0" == "~f0" ECHO WinNT
> :WinNT
> ECHO.d0: %~d0
> ECHO.p0: %~p0
> ECHO.f0: %~f0
> SET RUBYSCRIPT=%~f0
> SET RUBYSCRIPT=%RUBYSCRIPT:.cmd=%
> ECHO.Command generated:
> ECHO."%~d0%~p0ruby.exe" "%RUBYSCRIPT%" %*
> SET RUBYSCRIPT=
>
> Just as example, Since I don't have an old command.com to test, this
> will work as stub for rubygems scripts.
>
> What do you think?

Gem::Installer uses %*, and I'm told its not Win 9x.

--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars


_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to