Author: dreimer
Date: Thu Jul 26 18:20:04 2007
New Revision: 27842
URL:
http://svn.reactos.org/svn/reactos?rev=27842&view=rev
Log:
- Stop using grep to find out if a folder is empty or not. This is needed for Vista. (thx
to encoded for showing up that bug :-) )
Modified:
trunk/tools/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE-Windows/Root/sSVN.cmd
Modified: trunk/tools/RosBE-Windows/Root/RosBE.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.cmd Thu Jul 26 18:20:04 2007
@@ -61,7 +61,7 @@
::
:: Look if the Source Folder is empty. If so, ask for using "svn create".
::
-dir /b "%_ROSSOURCEDIR%" 2>nul|grep -e ".*" >nul
+dir /b "%_ROSSOURCEDIR%" 2>nul|findstr "." >nul
if errorlevel 1 (
echo No ReactOS Source detected. Please use "ssvn create" to download it.
goto :ExitRosBE
Modified: trunk/tools/RosBE-Windows/Root/sSVN.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/sSVN.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/sSVN.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/sSVN.cmd Thu Jul 26 18:20:04 2007
@@ -39,7 +39,7 @@
echo Folder already cotains a Reposority. Exiting
goto :ExitSVN
)
- dir /b "%_ROSSOURCEDIR%" 2>nul|grep -e ".*" >nul
+ dir /b "%_ROSSOURCEDIR%" 2>nul|findstr "." >nul
if errorlevel 1 (
svn checkout
svn://svn.reactos.org/reactos/trunk/reactos
"%_ROSSOURCEDIR%"
) else (