Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\AmbienteBogota\boletinprensa\build\ drwxrwxrwx |
Viewing file: Select action/file-type: #!/bin/sh if [ $# == 1 ]; then rm -rf phpMyNewsletter_* SVNROOT=svn+ssh://ratm.homeip.net/opt/svn/phpMyNewsletter SVNTRUNK=${SVNROOT}/trunk SVNBRNCH=${SVNROOT}/branches SVNTAG=${SVNROOT}/tags VERSION=$1 DIR=phpMyNewsletter_${VERSION} echo "1> Exporting trunk to $DIR" svn export $SVNTRUNK ${DIR} > /dev/null echo "2> Modifing install.php" sed -i "s/@VERSION@/$VERSION/" ${DIR}/install.php sed -i "s/0.8svn/$VERSION/" ${DIR}/admin/function.php echo "3> Tagging this version in repository" #svn cp $SVNTRUNK ${SVNTAG}/${VERSION} echo "$SVNTRUNK ${SVNTAG}/${VERSION}" else echo "usage $0 x.y.z" fi |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]-- |