root/galaxy-central/tools/human_genome_variation/lps_tool_wrapper.sh

リビジョン 2, 1.1 KB (コミッタ: hatakeyama, 14 年 前)

import galaxy-central

  • 属性 svn:executable の設定値 *
行番号 
1#!/usr/bin/env bash
2# script for execution of deployed applications
3#
4# Sets up the MCR environment for the current $ARCH and executes
5# the specified command.
6#
7
8export PATH=$PATH:$(dirname $0)
9
10MCRROOT=${MCRROOT:-/galaxy/software/linux2.6-x86_64/bin/MCR-7.11/v711}
11MWE_ARCH=glnxa64
12
13if [ "$MWE_ARCH" = "sol64" ] ; then
14  LD_LIBRARY_PATH=.:/usr/lib/lwp:${MCRROOT}/runtime/glnxa64
15else
16  LD_LIBRARY_PATH=.:${MCRROOT}/runtime/glnxa64
17fi
18
19LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRROOT}/bin/glnxa64
20LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRROOT}/sys/os/glnxa64
21
22if [ "$MWE_ARCH" = "maci" -o "$MWE_ARCH" = "maci64" ]; then
23  DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:/System/Library/Frameworks/JavaVM.framework/JavaVM:/System/Library/Frameworks/JavaVM.framework/Libraries
24else
25  MCRJRE=${MCRROOT}/sys/java/jre/glnxa64/jre/lib/amd64
26  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRJRE}/native_threads
27  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRJRE}/server
28  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRJRE}/client
29  LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRJRE}
30fi
31
32XAPPLRESDIR=${MCRROOT}/X11/app-defaults
33
34export LD_LIBRARY_PATH XAPPLRESDIR
35
36lps_tool $*
37
38exit 0
Note: リポジトリブラウザについてのヘルプは TracBrowser を参照してください。