pajoye          Sat Nov 15 17:13:24 2008 UTC

  Modified files:              
    /php-internals-win/script   snapshot.bat 
  Log:
  - log the installer script
  - remove the {version}-latest.msi before trying to create the link
  
http://cvs.php.net/viewvc.cgi/php-internals-win/script/snapshot.bat?r1=1.11&r2=1.12&diff_format=u
Index: php-internals-win/script/snapshot.bat
diff -u php-internals-win/script/snapshot.bat:1.11 
php-internals-win/script/snapshot.bat:1.12
--- php-internals-win/script/snapshot.bat:1.11  Fri Nov  7 09:04:47 2008
+++ php-internals-win/script/snapshot.bat       Sat Nov 15 17:13:24 2008
@@ -214,14 +214,15 @@
 echo ************************ 3.1 installer
        FOR %%A IN (%PHP_ZIP_FILE%) DO (
                echo snapshot_installer.bat %PHP_VERSION%.0 %NTS% %VC_VERS% 
%ARCH% %%~fA
-               CALL snapshot_installer.bat %PHP_VERSION%.0 %NTS% %VC_VERS% 
%ARCH% %%~fA
+               CALL snapshot_installer.bat %PHP_VERSION%.0 %NTS% %VC_VERS% 
%ARCH% %%~fA >> 
%LOG_DIR%\msi_%PHP_VERSION%%NTS_POSTFIX%-%VC_VERS%-%ARCH%-%SNAPDATETIME%.log 
2<&1
        )
 )
 
 FOR %%A IN (%PHP_BUILD_DIR%\*.msi) DO (
        echo Copying %%~nA.msi ...
-       "%PUTTYBASE%pscp.exe" -batch -q -i %SSH_KEY% -l %SSH_USER% 
%PHP_BUILD_DIR%\%%~nA.msi %SSH_URL%:%REMOTE_PATH%/%%~nA.msi >> 
%LOG_DIR%\scp_%PHP_VERSION%%NTS_POSTFIX%-%SNAPDATETIME%.log 2<&1
-       "%PUTTYBASE%plink.exe" -i %SSH_KEY% -l %SSH_USER% %SSH_HOST% ln -s 
%REMOTE_PATH%/%%~nA.msi 
%REMOTE_PATH%/php-%PHP_VERSION%%NTS_POSTFIX%-win32-%VC_VERS%-%ARCH%-latest.msi 
>> %LOG_DIR%\scp_%PHP_VERSION%%NTS_POSTFIX%-%SNAPDATETIME%.log 2<&1
+       "%PUTTYBASE%pscp.exe" -batch -q -i %SSH_KEY% -l %SSH_USER% 
%PHP_BUILD_DIR%\%%~nA.msi %SSH_URL%:%REMOTE_PATH%/%%~nA.msi >> 
%LOG_DIR%\scp_%PHP_VERSION%%NTS_POSTFIX%-%VC_VERS%-%ARCH%-%SNAPDATETIME%.log 
2<&1
+       "%PUTTYBASE%plink.exe" -i %SSH_KEY% -l %SSH_USER% %SSH_HOST% rm 
%REMOTE_PATH%/php-%PHP_VERSION%%NTS_POSTFIX%-win32-%VC_VERS%-%ARCH%-latest.msi 
>> %LOG_DIR%\scp_%PHP_VERSION%%NTS_POSTFIX%-%VC_VERS%-%ARCH%-%SNAPDATETIME%.log 
2<&1
+       "%PUTTYBASE%plink.exe" -i %SSH_KEY% -l %SSH_USER% %SSH_HOST% ln -s 
%REMOTE_PATH%/%%~nA.msi 
%REMOTE_PATH%/php-%PHP_VERSION%%NTS_POSTFIX%-win32-%VC_VERS%-%ARCH%-latest.msi 
>> %LOG_DIR%\scp_%PHP_VERSION%%NTS_POSTFIX%-%VC_VERS%-%ARCH%-%SNAPDATETIME%.log 
2<&1
 )
 
 "%PUTTYBASE%plink.exe" -i %SSH_KEY% -l %SSH_USER% %SSH_HOST% "sha1sum 
%REMOTE_PATH%/*-latest.zip %REMOTE_PATH%/*-latest.msi > 
%REMOTE_PATH%/sha1sum.txt"  >> 
%LOG_DIR%\scp_%PHP_VERSION%%NTS_POSTFIX%-%SNAPDATETIME%.log 2<&1



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to