Changeset 12 for modipsl/trunk/util/ins_script
- Timestamp:
- 03/12/07 17:13:47 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modipsl/trunk/util/ins_script
r2 r12 1 1 #!/bin/ksh 2 # $Id : ins_script,v 2.3 2005/01/31 16:40:29 adm Exp$2 # $Id$ 3 3 #--------------------------------------------------------------------- 4 4 #- Installation de scripts de lancement d experiences propres a un environnement … … 50 50 fi; 51 51 52 if [ "$x_t" = "sxnec" ]; then53 b_n_atlas=$(basename $HOME GAYA)54 d_n_atlas=$(dirname $HOME GAYA)52 if [ "$x_t" = "sx8brodie" ]; then 53 b_n_atlas=$(basename $HOME) 54 d_n_atlas=$(dirname $HOME | sed 's/home/u/') 55 55 elif [ "$x_t" = "aix" ]; then 56 56 b_n_atlas=$LOGIN … … 59 59 b_n_atlas=$(basename $DMFDIR) 60 60 d_n_atlas=\/$(dirname $DMFDIR | awk -F\/ '{print $4}') 61 elif [ "$x_t" = "sx 6nec" ]; then61 elif [ "$x_t" = "sx8mercure" ]; then 62 62 b_n_atlas=$(basename $DMFDIR) 63 63 d_n_atlas=$(dirname $DMFDIR) … … 73 73 case ${x_t} in 74 74 ( aix | cray | fjvpp | linux | lxiv7 | lxiv8 | osf1 | \ 75 solaris | t3e | sx nec | sx6nec| unix ) ;;75 solaris | t3e | sx8brodie | sx8mercure | unix ) ;; 76 76 (*) 77 77 echo "Target_Host "${x_t}" not supported" 1>&2; … … 94 94 W_OS=${x_t}; 95 95 # 96 if [ ${W_OS} = "sxnec" ]; then96 if [ ${W_OS} = "sx8brodie" ]; then 97 97 format='\s' 98 98 elif [ ${W_OS} = "aix" ]; then … … 100 100 elif [ ${W_OS} = "fjvpp" ]; then 101 101 format='\d' 102 elif [ ${W_OS} = "sx 6nec" ]; then102 elif [ ${W_OS} = "sx8mercure" ]; then 103 103 format='\s' 104 104 else
Note: See TracChangeset
for help on using the changeset viewer.