[BACK]Return to build.sh CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/build.sh between version 1.198 and 1.198.2.1

version 1.198, 2008/10/26 23:40:06 version 1.198.2.1, 2009/01/09 02:04:43
Line 43 
Line 43 
 progname=${0##*/}  progname=${0##*/}
 toppid=$$  toppid=$$
 results=/dev/null  results=/dev/null
   tab='   '
 trap "exit 1" 1 2 3 15  trap "exit 1" 1 2 3 15
   
 bomb()  bomb()
Line 113  set_HOST_SH()
Line 114  set_HOST_SH()
         # specifying HOST_SH in the environment.          # specifying HOST_SH in the environment.
         #          #
         [ -z "${HOST_SH}" ] && HOST_SH="$(          [ -z "${HOST_SH}" ] && HOST_SH="$(
                 (ps -p $$ -o comm | sed -ne '2s/[ \t]*$//p') 2>/dev/null )"                  (ps -p $$ -o comm | sed -ne "2s/[ ${tab}]*\$//p") 2>/dev/null )"
   
         # If nothing above worked, use "sh".  We will later find the          # If nothing above worked, use "sh".  We will later find the
         # first directory in the PATH that has a "sh" program.          # first directory in the PATH that has a "sh" program.

Legend:
Removed from v.1.198  
changed lines
  Added in v.1.198.2.1

CVSweb <webmaster@jp.NetBSD.org>