#!/bin/bash TAG="3.2.2" TARGET="$HOME/modeles/ecearth_$TAG" mv $HOME/.bashrc $HOME/bashrc_old cp bashrc $HOME/.bashrc mv $HOME/.ssh/config $HOME/.ssh/config_old cat config | sed -e 's/pbarriat/'$USER'/g' > $HOME/.ssh/config #[ ! -f ~/.ssh/id_rsa.pub ] && ssh-keygen -t rsa #ssh-copy-id -i ~/.ssh/id_rsa.pub gwcism cp $TAG/sources/config-build.xml $TARGET/sources/config-build.xml cp $TAG/runtime/classic/config-run.xml $TARGET/runtime/classic/config-run.xml cp $TAG/runtime/classic/ece-ifs+nemo.sh.tmpl $TARGET/runtime/classic/ece-ifs+nemo.sh.tmpl cp $TAG/runtime/classic/platform/zenobe.cfg.tmpl $TARGET/runtime/classic/platform/zenobe.cfg.tmpl