diff 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
line wrap: on
line diff
--- a/rc/bashrc	Thu May 29 06:58:49 2014 +0400
+++ b/rc/bashrc	Fri Jun 06 10:49:10 2014 +0900
@@ -15,11 +15,11 @@
 
 _org_path="${PATH}"
 
-_os="$(uname -s)"
-
 # Basic PATH
 export PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/games"
 
+_os="$(uname -s)"
+
 # pkgsrc
 if test -d /usr/pkg; then
   PATH="${PATH}:/usr/pkg/bin:/usr/pkg/sbin"