commit | 50012061ca3ad8e8a7f88c72130a5e22d797897e | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Mar 10 22:22:24 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Mar 10 22:22:24 2015 -0700 |
tree | b4d1dfad9d7d0f8170180cb28d73d685ced1fd2a | |
parent | 948ca12d46512a832fe53ee24fd580e7addaf28d [diff] [blame] |
Upgrade to mksh 50e. Change-Id: I341673d83c67f83761aa02c8372da6bbc419286f
diff --git a/mkshrc b/mkshrc index 98cbeac..510fdb7 100644 --- a/mkshrc +++ b/mkshrc
@@ -31,7 +31,7 @@ local dasc line i cat "$@" | { set +U; if read -arN -1 line; then - typeset -i1 line + typeset -i1 'line[*]' i=0 while (( i < ${#line[*]} )); do hv=${line[i++]} @@ -60,7 +60,7 @@ eval export "\"$1\""'="$2"' } -for p in ~/.bin; do +for p in ~/bin; do [[ -d $p/. ]] || continue [[ :$PATH: = *:$p:* ]] || PATH=$p:$PATH done