-
Notifications
You must be signed in to change notification settings - Fork 1
/
bashrc_dev
78 lines (66 loc) · 2.08 KB
/
bashrc_dev
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# - BIOBASH BASHRC FILE FOR DEVELOPMENT -
#
# This file was created to be sourced while developing BIOBASH.
# Since usually there is not installation when developing BIOBASH, sourcing this
# file will allow to set all necessary variables to have BIOBASH running as if it were installed.
# Actually, all variables in this file are the same variables that are set during BIOBASH
# installation.
#
#....................................................................
#
# Routine to detect the OS
#
#....................................................................
uname=$(command -v uname)
case $("${uname}" | tr '[:upper:]' '[:lower:]') in
linux*)
os="linux"
;;
darwin*)
os="osx"
;;
msys* | cygwin* | mingw* | nt | win*)
# or possible 'bash on windows'
os="windows"
;;
*)
return 1
;;
esac
#....................................................................
#
# Probably you'll want to modify these two lines.
#
#....................................................................
BIOBASH_HOME="${HOME}/Dev/repo/BB2"
BIOBASH_CORES=2
#....................................................................
#
# ¡¡¡DO NOT TOUCH BELOW UNLESS YOU KNOW WHAT UR DOING!!!
#
#....................................................................
BIOBASH_OS=${os}
BIOBASH_LIB=$BIOBASH_HOME/lib
BIOBASH_BIN=$BIOBASH_HOME/bin
BIOBASH_BIN_OS="$BIOBASH_HOME/bin/${os}/64"
BIOBASH_BIN_ALL=$BIOBASH_HOME/bin/all
SHML_LIB=$BIOBASH_HOME/lib/shml/shml.sh
BASHUTILITY_LIB_PATH=$BIOBASH_HOME/lib/bb_utility
BASHUTILITY_LIB=$BIOBASH_HOME/lib/bbutility.sh
BIOBASH_NATIVE_LIB_PATH=$BIOBASH_HOME/lib/Bio
BIOBASH_NATIVE_LIB=$BIOBASH_HOME/lib/biobash.sh
BIOBASH_EXEC=$BIOBASH_HOME/exec
export BIOBASH_HOME
export BIOBASH_LIB
export BIOBASH_BIN
export BIOBASH_OS
export BIOBASH_BIN_OS
export BIOBASH_BIN_ALL
export SHML_LIB
export BASHUTILITY_LIB_PATH
export BASHUTILITY_LIB
export BIOBASH_NATIVE_LIB_PATH
export BIOBASH_NATIVE_LIB
export BIOBASH_CORES
export BIOBASH_EXEC
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin