Author: dreimer
Date: Sun Apr 18 17:16:52 2010
New Revision: 46922
URL:
http://svn.reactos.org/svn/reactos?rev=46922&view=rev
Log:
Add the Error Sound to the Batch Version, too.
It ONLY works if tee alias Logging is disabled for now!
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Bui…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Build-Shared.cmd [iso-8859-1] Sun Apr 18 17:16:52
2010
@@ -63,8 +63,13 @@
:EOC
:: Highlight the fact that building has ended.
-cd /d "%_ROSBE_BASEDIR%\samples"
-playwav.exe Notification.wav
+if !errorlevel! GEQ 1 (
+ cd /d "%_ROSBE_BASEDIR%\samples"
+ playwav.exe error.wav
+) else (
+ cd /d "%_ROSBE_BASEDIR%\samples"
+ playwav.exe notification.wav
+)
flash.exe