Changeset 12 for modipsl/trunk/util/ins_post
- Timestamp:
- 03/12/07 17:13:47 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modipsl/trunk/util/ins_post
r2 r12 1 1 #!/bin/ksh 2 # $Id : ins_post,v 2.3 2004/12/22 16:04:12 adm Exp$2 # $Id$ 3 3 #----------------------------------------------- 4 4 #- Installation de scripts de post_traitement … … 35 35 shift $(($OPTIND-1)); 36 36 37 if [ "$x_t" = "sxnec" ]; then38 b_n_post=$(basename $HOME GAYA)39 d_n_post=$(dirname $HOME GAYA)37 if [ "$x_t" = "sx8brodie" ]; then 38 b_n_post=$(basename $HOME) 39 d_n_post=$(dirname $HOME | sed 's/home/u/') 40 40 elif [ "$x_t" = "fjvpp" ]; then 41 41 b_n_post=$(basename $DMFDIR) 42 42 d_n_post=\/$(dirname $DMFDIR | awk -F\/ '{print $4}') 43 elif [ "$x_t" = "sx 6nec" ]; then43 elif [ "$x_t" = "sx8mercure" ]; then 44 44 b_n_post=$(basename $DMFDIR) 45 45 d_n_post=$(dirname $DMFDIR) … … 67 67 68 68 case ${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 ) ;; 70 71 (*) 71 72 echo "Target_Host "${x_t}" not supported" 1>&2; … … 110 111 W_OS=${x_t}; 111 112 112 if [ ${W_OS} = "sxnec" ]; then113 if [ ${W_OS} = "sx8brodie" ]; then 113 114 format='\s' 114 115 elif [ ${W_OS} = "fjvpp" ]; then 115 116 format='\d' 116 elif [ ${W_OS} = "sx 6nec" ]; then117 elif [ ${W_OS} = "sx8mercure" ]; then 117 118 format='\g' 118 119 else
Note: See TracChangeset
for help on using the changeset viewer.