File: caret_app_wrapper

package info (click to toggle)
caret 5.6.4~dfsg.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 31,904 kB
  • ctags: 28,901
  • sloc: cpp: 378,050; python: 6,718; ansic: 5,507; makefile: 333; sh: 46
file content (28 lines) | stat: -rwxr-xr-x 1,068 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/sh -e

# Copyright (C) 2007 by
# Michael Hanke        michael.hanke@gmail.com
#
# This script is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.


if [ "${0##*/}" = "caret_app_wrapper" ]; then
	echo 'caret_app_wrapper: This script should not be run like this, see caret(1) for details' 1>&2
	exit 1
fi

# setup library search path for carets internal libs and Qt4 plugins
LD_LIBRARY_PATH=/usr/lib/caret/lib/:/usr/lib/qt4/plugins/imageformats \
CARET5_HOME=/usr/share/caret \
CARET_WEB_BROWSER=/etc/alternatives/x-www-browser \
CARET_ATLAS_DIRECTORIES=/usr/share/caret/data_files/fmri_mapping_files \
/usr/lib/caret/bin/${0##*/} "$@"