The below has a hardcoded http://127.0.0.1:8888/ - does that mean it won't 
work if fproxy is on another port?

On Sunday 16 March 2008 07:07, nextgens at freenetproject.org wrote:
> Author: nextgens
> Date: 2008-03-16 07:07:02 +0000 (Sun, 16 Mar 2008)
> New Revision: 18545
> 
> Modified:
>    trunk/apps/new_installer/res/windows/browse.cmd
> Log:
> new_installer: fix the warning the installer is displaying
> 
> Modified: trunk/apps/new_installer/res/windows/browse.cmd
> ===================================================================
> --- trunk/apps/new_installer/res/windows/browse.cmd   2008-03-15 22:58:05 UTC 
(rev 18544)
> +++ trunk/apps/new_installer/res/windows/browse.cmd   2008-03-16 07:07:02 UTC 
(rev 18545)
> @@ -3,9 +3,15 @@
>  @set JAVA_HOME=$JAVA_HOME
>  @cd /D %INSTALL_PATH%
>  
> +:: Get the URL from the parameters if set
>  @set COUNT=0
> - at for %%x in (%*) do ( @set /A COUNT=!COUNT!+1 )
> - at if %COUNT% LSS 1 @set URL=http://127.0.0.1:8888/ else @set URL=%1
> + at for %%x in (%*) do @( set /A COUNT=%COUNT%+1 )
> + at if %COUNT% GEQ 1 goto withURL
> + at set URL=http://127.0.0.1:8888/
> + at goto doneURL
> +:withURL
> + at set URL=%1
> +:doneURL
>  
>  :: Check the simple case first (FF exists and has been detected)
>  @if not exist firefox.location goto detectff
> 
> _______________________________________________
> cvs mailing list
> cvs at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20080318/386b463f/attachment.pgp>

Reply via email to