Ignore:
Timestamp:
03/12/07 17:13:47 (17 years ago)
Author:
bellier
Message:

JB: svn now !

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modipsl/trunk/util/ins_post

    r2 r12  
    11#!/bin/ksh 
    2 # $Id: ins_post,v 2.3 2004/12/22 16:04:12 adm Exp $ 
     2# $Id$ 
    33#----------------------------------------------- 
    44#- Installation de scripts de post_traitement 
     
    3535shift $(($OPTIND-1)); 
    3636 
    37 if [ "$x_t" = "sxnec" ]; then 
    38    b_n_post=$(basename $HOMEGAYA) 
    39    d_n_post=$(dirname $HOMEGAYA) 
     37if   [ "$x_t" = "sx8brodie" ]; then 
     38   b_n_post=$(basename $HOME) 
     39   d_n_post=$(dirname $HOME | sed 's/home/u/') 
    4040elif [ "$x_t" = "fjvpp" ]; then 
    4141   b_n_post=$(basename $DMFDIR) 
    4242   d_n_post=\/$(dirname $DMFDIR | awk -F\/ '{print $4}') 
    43 elif [ "$x_t" = "sx6nec" ]; then 
     43elif [ "$x_t" = "sx8mercure" ]; then 
    4444   b_n_post=$(basename $DMFDIR) 
    4545   d_n_post=$(dirname $DMFDIR) 
     
    6767 
    6868case ${x_t} in 
    69   ( aix | cray | fjvpp | linux | osf1 | solaris | t3e | sxnec | sx6nec | unix ) ;; 
     69  ( aix | cray | fjvpp | linux | lxiv7 | lxiv8 | osf1 | \ 
     70    solaris | t3e | sx8brodie | sx8mercure | unix ) ;; 
    7071  (*) 
    7172    echo "Target_Host "${x_t}" not supported" 1>&2; 
     
    110111W_OS=${x_t}; 
    111112 
    112 if [ ${W_OS}  = "sxnec" ]; then 
     113if   [ ${W_OS}  = "sx8brodie" ]; then 
    113114   format='\s' 
    114115elif [ ${W_OS}  = "fjvpp" ]; then 
    115116   format='\d' 
    116 elif [ ${W_OS}  = "sx6nec" ]; then 
     117elif [ ${W_OS}  = "sx8mercure" ]; then 
    117118   format='\g' 
    118119else 
Note: See TracChangeset for help on using the changeset viewer.