pajoye Thu Aug 7 17:18:13 2008 UTC Modified files: /php-internals-win/script snapshot.bat Log: add lock http://cvs.php.net/viewvc.cgi/php-internals-win/script/snapshot.bat?r1=1.1&r2=1.2&diff_format=u Index: php-internals-win/script/snapshot.bat diff -u php-internals-win/script/snapshot.bat:1.1 php-internals-win/script/snapshot.bat:1.2 --- php-internals-win/script/snapshot.bat:1.1 Thu Aug 7 17:04:33 2008 +++ php-internals-win/script/snapshot.bat Thu Aug 7 17:18:12 2008 @@ -1,9 +1,12 @@ @ECHO off REM Configuration CALL %PHP_SDK_PATH%\script\conf_tools.bat +IF EXIST %PHP_SDK_PATH%\snaps.lock +echo Snapshot script is running, aborted. +GOTO EXIT SET START=%CD% - +echo "LOCKED" > %PHP_SDK_PATH%\snaps.lock IF "%1"=="" GOTO HELP IF "%2"=="" GOTO HELP IF "%3"=="" GOTO HELP @@ -70,7 +73,7 @@ "%PUTTYBASE%pscp.exe" -batch -i %PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk -l %REMOTE_USER% %START%\compile.log %SSH_URL%:%REMOTE_PATH%/compile-%_PHPVERSION_SHORT%.log "%PUTTYBASE%pscp.exe" -batch -i %PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk -l %REMOTE_USER% %START%\cvs.log %SSH_URL%:%REMOTE_PATH%/cvs-%_PHPVERSION_SHORT%.log "%PUTTYBASE%pscp.exe" -batch -i %PHP_SDK_PATH%keys\pierre_droppederon_prv.ppk -l %REMOTE_USER% %START%\buildconf.log %SSH_URL%:%REMOTE_PATH%/buildconf-%_PHPVERSION_SHORT%.log - +delete %PHP_SDK_PATH%\snaps.lock GOTO EXIT :HELP
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php