set_version.sh 420 B

1234567891011121314151617181920212223242526272829
  1. #!/bin/bash
  2. TAG=3.3.0
  3. machine=`uname --nodename`
  4. case "$machine" in
  5. *lm3*)
  6. CONF="lemaitre3"
  7. ;;
  8. *zenobe*)
  9. CONF="zenobe"
  10. ;;
  11. *frontal*)
  12. CONF="zenobe"
  13. ;;
  14. *)
  15. echo "Unknown machine"
  16. exit
  17. ;;
  18. esac
  19. # Deploy
  20. echo "6" | ./install.sh
  21. # Configure
  22. cd ~/modeles/ecearth/ecearth_$TAG/runtime/classic
  23. ../../sources/util/ec-conf/ec-conf -p $CONF config-run.xml