Author: toad Date: 2008-05-06 13:55:50 +0000 (Tue, 06 May 2008) New Revision: 19792
Modified: trunk/apps/new_installer/res/windows/browse.cmd Log: Missing @ Modified: trunk/apps/new_installer/res/windows/browse.cmd =================================================================== --- trunk/apps/new_installer/res/windows/browse.cmd 2008-05-06 13:37:41 UTC (rev 19791) +++ trunk/apps/new_installer/res/windows/browse.cmd 2008-05-06 13:55:50 UTC (rev 19792) @@ -26,7 +26,7 @@ @regedit /E firefox.reg "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe" :: No I didn't find any better regexp I could do without cote-escaping. :: bin\cat.exe firefox.reg | find "@=" | bin\sed.exe "s/""/|/g" | bin\sed.exe "s/.*|\(.*\)|/\1/" | bin\sed.exe "s/\\\\/\\/g" > firefox.location -if not exist firefox.reg goto maybeff + at if not exist firefox.reg goto maybeff @bin\cat.exe firefox.reg | find "@=" | bin\sed.exe s/@="\(.*\)"/\1/ | bin\sed.exe "s/\\\\/\\/g" > firefox.location @set /P FIREFOX=<firefox.location @if not defined FIREFOX goto maybeff
