Changeset 377 for XIOS/trunk
- Timestamp:
- 10/16/12 17:46:52 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/make_xios
r376 r377 30 30 "--debug") compil_mode="debug" ; shift ;; 31 31 "--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 ;; 33 33 "--full") compil_full="true" ; shift ;; 34 34 "--use_oasis") use_oasis="true" ; shift ;; … … 40 40 41 41 # Installation des sources 42 is_existing_gz=`ls $install_dir/tools/archive | grep tar.gz | wc -l`43 if [ "x$is_existing_gz" != "x0" ]42 nb_files_gz=`ls $install_dir/tools/archive | grep tar.gz | wc -l` 43 if [ ${nb_files_gz} -ne 0 ] 44 44 then 45 echo -e "- uncompress archives ..." 45 46 for tarname in `ls $install_dir/tools/archive/*.tar.gz` ; do 46 echo -e "- uncompress archives ..."47 47 gunzip -f "$tarname" 48 48 tar -xf ${tarname%.gz}
Note: See TracChangeset
for help on using the changeset viewer.