Author: peterw
Date: Thu Dec 6 00:50:26 2007
New Revision: 31027
URL: http://svn.reactos.org/svn/reactos?rev=31027&view=rev
Log:
- Final fix for 'chdefgcc'... honest.
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/chd…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd Thu Dec 6 00:50:26 2007
@@ -15,10 +15,9 @@
::
:: Parse the command line arguments.
::
-if %1 == "" (
+for /f "usebackq tokens=*" %%i in (`""%_ROSBE_BASEDIR%\Tools\rquote.exe" %1"`) do set _1=%%i
+if "%1" == "" (
call :INTERACTIVE
-) else (
- for /f "usebackq tokens=*" %%i in (`""%_ROSBE_BASEDIR%\Tools\rquote.exe" %1"`) do set _1=%%i
)
if not exist "%_1%\." (
@@ -37,6 +36,7 @@
:INTERACTIVE
set /p _1="Please enter a MinGW/GCC directory: "
+for /f "usebackq tokens=*" %%i in (`""%_ROSBE_BASEDIR%\Tools\rquote.exe" %_1%"`) do set _1=%%i
if "%_1%" == "" (
echo ERROR: You must enter a MinGW/GCC directory.
goto :EOC
Author: dchapyshev
Date: Wed Dec 5 23:30:54 2007
New Revision: 31024
URL: http://svn.reactos.org/svn/reactos?rev=31024&view=rev
Log:
- Fix small bug
Modified:
trunk/reactos/dll/win32/syssetup/install.c
Modified: trunk/reactos/dll/win32/syssetup/install.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/install…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/install.c (original)
+++ trunk/reactos/dll/win32/syssetup/install.c Wed Dec 5 23:30:54 2007
@@ -771,7 +771,7 @@
/* Creacte Accessibility subfolder and fill if the exe is available */
if (CreateShortcutFolder(CSIDL_PROGRAMS, IDS_SYS_ACCESSIBILITY, szFolder, sizeof(szFolder)/sizeof(szFolder[0])))
{
- CreateShortcut(CSIDL_PROGRAMS, szFolder, IDS_SHORT_MAGNIFY, _T("%SystemRoot%\\system32\\magnify.exe"), IDS_CMT_MAGNIFY, FALSE);
+ CreateShortcut(CSIDL_PROGRAMS, szFolder, IDS_SHORT_MAGNIFY, _T("%SystemRoot%\\system32\\magnify.exe"), IDS_CMT_MAGNIFY, TRUE);
}
/* Create Games subfolder and fill if the exe is available */
Author: peterw
Date: Wed Dec 5 23:02:49 2007
New Revision: 31023
URL: http://svn.reactos.org/svn/reactos?rev=31023&view=rev
Log:
- Fix a problem with spaces in 'chdefgcc' and add the correct error msg for no GCC being found.
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/chd…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd Wed Dec 5 23:02:49 2007
@@ -15,10 +15,10 @@
::
:: Parse the command line arguments.
::
-if "%1" == "" (
+if %1 == "" (
call :INTERACTIVE
) else (
- set _1=%1
+ set _1="%1"
)
if not exist "%_1%\." (
@@ -26,7 +26,7 @@
goto :EOC
)
if not exist "%_1%\bin\gcc.exe" (
- echo ERROR: The path specified doesn't seem to exist.
+ echo ERROR: No MinGW/GCC found in the specified path.
goto :EOC
)
set _ROSBE_MINGWPATH=%_1%