Changeset 10

Show
Ignore:
Timestamp:
07-10-11 13:51:26 (3 years ago)
Author:
r.w.w.brouwer@…
Message:

Deconvuluted runtools.sh install directory function

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/narwhal/bin/run_tools.sh

    r9 r10  
    2525# VARIABLES 
    2626# 
    27 x=$( readlink -f $0 )                           # a temporary variable to hold the absolute path to the script  
    28 idir=${x%bin/run_tools.sh}                      # the install directory 
     27idir=$( readlink -f $0 ) 
     28idir=$( dirname $idir ) 
     29idir=${idir/%bin/} 
    2930 
    3031align="${idir}tools/align.py"                   # the location of the alignment script