Changeset 370


Ignore:
Timestamp:
04/07/2011 03:46:27 PM (13 years ago)
Author:
marcus
Message:

r202 | walther | 2011-04-07 15:44:34 +0200 (Do, 07 Apr 2011) | 1 line

Setting link to /usr/local/LocSAT

File:
1 edited

Legend:

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

    r368 r370  
    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.