Changeset 371


Ignore:
Timestamp:
04/07/2011 03:47:12 PM (11 years ago)
Author:
marcus
Message:

MERGE: [370/SH_SHM/trunk]

File:
1 edited

Legend:

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

    r369 r371  
    159159endif 
    160160set locsatpath=$dstpath/sh/util/locsat 
    161 chmod 755 $locsatpath 
    162161set plth=`echo $locsatpath | wc -c` 
    163162 
    164 # check for write access in /usr/bin -> create link for binary 
    165 if (-w /usr/bin) then 
    166     if  (-e /usr/bin/LocSAT) \rm /usr/bin/LocSAT 
    167     ln -s $locsatpath /usr/bin/LocSAT 
    168     set locsatpath=/usr/bin/LocSAT 
    169 # otherwise create link directly into user dir 
     163# check for write access in /usr/bin -> create link for LocSAT installation path 
     164if (-w /usr/local) then 
     165    if  (-e /usr/local/LocSAT) \rm /usr/bin/LocSAT 
     166    ln -s $locsatpath /usr/local/LocSAT 
     167    set locsatpath=/usr/local/LocSAT 
     168# otherwise create link directly from user dir 
    170169else if ($plth > 25)  then 
    171170        if  (-e $HOME/lcs) \rm $HOME/lcs 
Note: See TracChangeset for help on using the changeset viewer.