Changeset 338 for SH_SHM/trunk


Ignore:
Timestamp:
03/03/2011 02:50:09 PM (12 years ago)
Author:
marcus
Message:

r177 | walther | 2011-03-03 14:31:05 +0100 (Do, 03 Mär 2011) | 1 line

Some updates for installation scripts.

Location:
SH_SHM/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/inputs/shm-config-default.txt

    r328 r338  
    3636!                            graphical editor used for displaying text files 
    3737!                            type: text string 
    38 texteditor                   nedit 
     38texteditor                   ##EDITOR## 
    3939 
    4040!                            trace normalisation 
     
    432432!                            http://www.seismic-handler.org/portal/wiki/ShReads#qualifiers 
    433433reads_swap                   false 
    434 reads_invhdr                 true 
     434reads_invhdr                 false 
    435435 
    436436!                            debug level; 0 = no debug output, 1 = little 
  • SH_SHM/trunk/setup/SHM-install.csh

    r331 r338  
    212212set thissetup=$dstpath/sh/inputs/shm-config.txt 
    213213if  (-e $thissetup)  \mv $thissetup $dstpath/sh/inputs/shm-config.txt.yours 
    214 cp $origsetup $thissetup 
     214sed "s@##EDITOR##@$editor@" $origsetup > $thissetup 
    215215 
    216216# settings for small displays (laptops) 
     
    297297echo "" 
    298298echo "" 
    299 echo "Please call" 
    300 echo "" 
     299echo "Please update your environment before using SH or SHM!" 
     300echo "" 
     301echo "If you prefer csh or tcsh put this line into your ~/.cshrc file:" 
    301302echo "source $dstpath/sh/setup/shsetup" 
    302303echo "" 
    303 echo "before using SH or SHM.  Put this line into your .cshrc file" 
    304 echo "" 
     304echo "If you prefer bash put this line into your ~/.bashrc file:" 
     305echo "source $dstpath/sh/setup/shsetup.sh" 
     306echo "" 
  • SH_SHM/trunk/setup/setup.py

    r332 r338  
    2121    if not tmp: 
    2222        tmp = pwd 
    23          
     23 
    2424    uid = os.getuid() 
    2525    root = uid == 0 
     
    3434def banner(): 
    3535    print "="*78 
    36     print "  Setup program for Seismic Handler v0.1" 
     36    print "  Setup program v0.1 for Seismic Handler (SH/SHM)" 
    3737    print "="*78 
    3838    print "\n This piece of software will try to setup the included source code.\n" 
     
    7373                if dbg: 
    7474                    print e 
    75                      
     75 
    7676                print "Cannot create target directory: %s" % target 
    7777                continue 
  • SH_SHM/trunk/setup/shsetup.sh.template

    r331 r338  
    107107# for SHM 
    108108# 
    109 alias SHM='(export UIDPATH $shcroot/source/motif/shm_world.uid; $shcroot/source/motif/shm_world)' 
    110 alias SHM_N='(export UIDPATH $shcroot/source/motif/shm.uid; $shcroot/source/motif/shm)' 
     109alias SHM='(export UIDPATH=$shcroot/source/motif/shm_world.uid; $shcroot/source/motif/shm_world)' 
     110alias SHM_N='(export UIDPATH=$shcroot/source/motif/shm.uid; $shcroot/source/motif/shm)' 
    111111# 
    112112# for utility programs of SHM 
Note: See TracChangeset for help on using the changeset viewer.