diff --git a/couplage/MAR_n5 b/couplage/MAR_n5 index 2cb35da8beeb276ffefb9d5c23a79565db1d4f75..d660dde129dab44cf18d62d439ea9d366bbaebf2 100644 --- a/couplage/MAR_n5 +++ b/couplage/MAR_n5 @@ -1620,13 +1620,13 @@ BCH "# ------------------------" echo "Back up the caraib files" #Back up of the results in .nc -BCH " for fil in \`ls \${WRKdir}/*CAR*.nc\` ; do" +BCH " for fil in \`ls *CAR*.nc\` ; do" BCH " smput \"\${WRKdir}\" \"\$fil\" \"$STKcar\"" BCH " done" #Back up of the results in .res -BCH " for fil in \`ls \${WRKdir}/CARAIB_couplage/results/Belgium/*${yr}*\` ; do" -BCH " smput \"\${WRKdir}/CARAIB_couplage/results/Belgium/\" \"\$fil\" \"$STKcar\"" +BCH " for fil in \`ls CARAIB_couplage/results/Belgium/*${yr}*\` ; do" +BCH " smput \"\${WRKdir}/\" \"\$fil\" \"$STKcar\"" BCH " done" BCH " tar -czf \${WRKdir}/CARAIB_couplage.tar.gz \${WRKdir}/CARAIB_couplage "