File: vibrate

package info (click to toggle)
ncbi-tools6 6.1.20120620-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 241,628 kB
  • ctags: 101,236
  • sloc: ansic: 1,431,713; cpp: 6,248; pascal: 3,949; xml: 3,390; sh: 3,090; perl: 1,077; csh: 488; makefile: 449; ruby: 93; lisp: 81
file content (20 lines) | stat: -rw-r--r-- 524 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
if [ $# = 0 -o "x$1" = "x--help" ]; then
    cat <<EOF
Usage: $0 program [arguments]

Vibrate runs the specified program, which presumably uses the NCBI C
toolkit, with the Vibrant library preloaded.  The main effect of this
preloading is that omitting arguments produces a dialog box for setting
parameters rather than a usage message.
EOF
    exit 0
fi
preload=/usr/lib/libvibrant.so.6
if [ -n "$LD_PRELOAD" ]; then
    LD_PRELOAD=$preload:$LD_PRELOAD
else
    LD_PRELOAD=$preload
fi
export LD_PRELOAD
exec "$@"