Changeset 377 for XIOS/trunk/make_xios


Ignore:
Timestamp:
10/16/12 17:46:52 (9 years ago)
Author:
aclsce
Message:
  • Modified to make it work on Curie and Vargas
File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/make_xios

    r376 r377  
    3030         "--debug") compil_mode="debug" ; shift ;; 
    3131         "--arch")  arch=$2     ; shift ; shift ;; 
    32          "--avail") ls arch/*.fcm | cut -d"-" -f2 | cut -d".fcm" -f1 ; exit ;;  
     32         "--avail") ls arch/*.fcm | cut -d"-" -f2 | cut -d"." -f1 ; exit ;;  
    3333         "--full")  compil_full="true"  ; shift ;; 
    3434         "--use_oasis")  use_oasis="true"  ; shift  ;; 
     
    4040 
    4141# Installation des sources 
    42 is_existing_gz=`ls $install_dir/tools/archive | grep tar.gz | wc -l` 
    43 if [ "x$is_existing_gz" != "x0" ] 
     42nb_files_gz=`ls $install_dir/tools/archive | grep tar.gz | wc -l` 
     43if [ ${nb_files_gz} -ne 0 ]                 
    4444then 
     45    echo -e "- uncompress archives ..."          
    4546    for tarname in `ls $install_dir/tools/archive/*.tar.gz` ; do 
    46         echo -e "- uncompress archives ..." 
    4747        gunzip -f "$tarname" 
    4848        tar -xf ${tarname%.gz} 
Note: See TracChangeset for help on using the changeset viewer.