Changeset 10


Ignore:
Timestamp:
Oct 7, 2011, 1:51:26 PM (5 years ago)
Author:
r.w.w.brouwer@…
Message:

Deconvuluted runtools.sh install directory function

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.