Changeset 340 for SH_SHM/trunk


Ignore:
Timestamp:
03/03/2011 05:37:32 PM (12 years ago)
Author:
marcus
Message:

r179 | walther | 2011-03-03 17:35:27 +0100 (Do, 03 Mär 2011) | 1 line

...

Location:
SH_SHM/trunk/setup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/setup/SHM-install.csh

    r338 r340  
    8282while  ("$cmd" != "i") 
    8383 
     84        echo "======================================================================" 
    8485        echo "" 
    8586        echo "(u)  user root path:           $userroot" 
     
    8990        echo "(q)  Quit Installation" 
    9091        echo "" 
    91         echo "if all settings are ok, enter 'i'" 
     92        echo "If all settings are ok, enter 'i'" 
    9293        echo "" 
    93         echo -n "cmd: " 
     94        echo -n "Your command: " 
    9495        set cmd="$<" 
    9596 
     
    232233cd $SH_LIB 
    233234if  (-e libahio.a)  mv libahio.a libahio.ax 
    234 \rm *.a 
     235\rm *.a > /dev/null 
    235236if  (-e libahio.ax)  mv libahio.ax libahio.a 
    236237cd $SH_ROOT 
     
    278279        touch $resrc 
    279280endif 
    280 set res=`grep "SHM*locsat_prefix_text" $resrc` 
     281set res=`grep "SHM.locsat_prefix_text" $resrc` 
    281282if  ("$res" == "")  then 
    282283        echo "SHM*locsat_prefix_text.value:       tab"  >>$resrc 
     
    295296xrdb $resrc 
    296297 
    297 echo "" 
     298echo "========================================================================" 
    298299echo "" 
    299300echo "Please update your environment before using SH or SHM!" 
     
    305306echo "source $dstpath/sh/setup/shsetup.sh" 
    306307echo "" 
     308echo "========================================================================" 
  • SH_SHM/trunk/setup/setup.py

    r339 r340  
    1 import os.path 
    21#! /usr/bin/env python 
    32 
     
    4140def download(target, pkg): 
    4241    print "Downloading %s..." % pkg 
    43     os.system("wget -P %s %s" % (target, downloads[pkg])) 
     42    os.system("wget -q -P %s %s" % (target, downloads[pkg])) 
    4443 
    4544def setup(**kwargs): 
     
    9998    flist = ["STATINF.DAT", "sensitivities.txt", "filter_lookup.txt"] 
    10099 
    101     print "A backup of your shm-config.txt has been saved under" 
     100    print "\nA backup of your shm-config.txt has been saved under" 
    102101    print " %s/sh/inputs/shm-config.txt.yours" % target 
    103102 
    104     print "Seismic Handler comes with updated station configuration files." 
     103    print "\nSeismic Handler comes with updated station configuration files." 
    105104    a = raw_input("Do you want to use them (backup will be saved) [Yn]? ") 
    106105 
    107106    if a == "n": 
    108         print "Please check the following files manually (sh/inputs):" 
     107        print "\nPlease check the following files manually (sh/inputs):" 
    109108        for f in flist: 
    110109            print f, "vs.", f+".dist" 
     
    112111 
    113112    for f in flist: 
    114         tname = os.pathjoin(target, f) 
     113        tname = os.path.join(target, "sh/inputs", f) 
    115114        if os.path.exists(tname): 
    116115            print "Backing up %s... (to %s)" % (f, f+".yours") 
Note: See TracChangeset for help on using the changeset viewer.