#!/bin/ksh
# $Id: install,v 1.2 2008/12/03 11:32:45 ssipsl Exp $

d_n=$(dirname ${0}); 

F_MOD=$(cd ${d_n}'/../../..';/bin/pwd;)
\sed -e "s%::modipsl::%${F_MOD}%" \
     Job_FLUXNET_validation > Job_FLUXNET_validation_
\mv Job_FLUXNET_validation_ Job_FLUXNET_validation
\chmod u+x Job_FLUXNET_validation

\sed -e "s%::modipsl::%${F_MOD}%" \
     Job_Post_FLUXNET > Job_Post_FLUXNET_
\mv Job_Post_FLUXNET_ Job_Post_FLUXNET
\chmod u+x Job_Post_FLUXNET
