Mercurial > ec-dotfiles
comparison rc/bashrc @ 520:a60af1e859e4
set PATH before calling uname.
author | edogawaconan <me@myconan.net> |
---|---|
date | Fri, 06 Jun 2014 10:49:10 +0900 |
parents | 6ef4bbc171eb |
children | fb2d37acca81 |
comparison
equal
deleted
inserted
replaced
519:a198065ff6e8 | 520:a60af1e859e4 |
---|---|
13 | 13 |
14 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before" | 14 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before" |
15 | 15 |
16 _org_path="${PATH}" | 16 _org_path="${PATH}" |
17 | 17 |
18 _os="$(uname -s)" | |
19 | |
20 # Basic PATH | 18 # Basic PATH |
21 export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/games" | 19 export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/games" |
20 | |
21 _os="$(uname -s)" | |
22 | 22 |
23 # pkgsrc | 23 # pkgsrc |
24 if test -d /usr/pkg; then | 24 if test -d /usr/pkg; then |
25 PATH="${PATH}:/usr/pkg/bin:/usr/pkg/sbin" | 25 PATH="${PATH}:/usr/pkg/bin:/usr/pkg/sbin" |
26 if test -d /usr/pkg/java/openjdk7; then | 26 if test -d /usr/pkg/java/openjdk7; then |