-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbashrc-pjb
More file actions
38 lines (30 loc) · 981 Bytes
/
Copy pathbashrc-pjb
File metadata and controls
38 lines (30 loc) · 981 Bytes
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
# -*- mode:shell-script -*-
function bashrc_pjb_set_environment(){
# compilation cache
export USE_CCACHE=1
export CCACHE_DIR="$HOME/.cache/ccache"
export CCACHE_DIR=/src/android/ccache
# android:
# prebuilts/misc/linux-x86/ccache/ccache -M 50G
# prebuilts/misc/linux-x86/ccache/ccache -M 100G
export OUT_DIR_COMMON_BASE=/src/android/out
# source "$HOME/src/android/android.sh"
if [ -d $HOME/opt/jdk/bin ] ; then
export "PATH=$HOME/opt/jdk/bin:$PATH"
fi
# [ -x /usr/bin/gnome-keyring-daemon ] && /usr/bin/gnome-keyring-daemon --start --components=pkcs11
case "$(uname)" in
MINGW*)
export WOME="/c/users/PPBN02261"
export SR="$WOME/works/sncf-reseau"
export ROME="/c/users/PPBN02261/AppData/Roaming"
;;
*)
export WOME="$HOME"
export SR="$WOME/works/sncf-reseau"
export ROME="$HOME"
;;
esac
}
bashrc_pjb_set_environment
#### THE END ####