a guest May 23rd, 2018 272 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. #param 1 : repertoire svn ou trac
  3. #param 2 : repertoire destination
  4. rm -rf /var/www/sproutcore/
  5. svn export file:///var/svn/rosetta/trunk/HopiFw /var/www/sproutcore --force
  6. cd /var/www/sproutcore/renduSproutCore/rosetta
  7. sc-build
  8. cd tmp/build/
  9. tar cvvf static.tar static
  10. cp static.tar ../../../../
  11. cd ../../../../
  12. tar xvf static.tar
  13. rm -rf renduSproutCore
  14. rm static.tar
  15. cp /root/shell_script/data/config.json /var/www/sproutcore/wl/
  16. cp /root/shell_script/data/.htaccess /var/www/sproutcore/static/rosetta/
  17. cp /root/shell_script/data/index.php /var/www/sproutcore/
  18. #sendEmail -f  -t -m "TEST" -u "nightly build rosetta"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand