[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.162 and 1.163

version 1.162, 2007/02/19 14:20:11 version 1.163, 2007/03/25 07:56:38
Line 69  statusmsg()
Line 69  statusmsg()
         ${runcmd} echo "===> $@" | tee -a "${results}"          ${runcmd} echo "===> $@" | tee -a "${results}"
 }  }
   
   warning()
   {
           statusmsg "Warning: $@"
   }
   
 # Find a program in the PATH  # Find a program in the PATH
 find_in_PATH()  find_in_PATH()
 {  {
Line 793  parseoptions()
Line 798  parseoptions()
         export MAKEFLAGS MACHINE MACHINE_ARCH          export MAKEFLAGS MACHINE MACHINE_ARCH
 }  }
   
   sanitycheck()
   {
           # If the PATH contains any non-absolute components (including,
           # but not limited to, "." or ""), then complain.  This is fatal
           # if expert mode is not in effect.
           #
           case ":${PATH}:/" in
           *:[!/]*)
                   if ${do_expertmode}; then
                           warning "PATH contains non-absolute components"
                   else
                           bomb "PATH must not contain non-absolute components"
                   fi
                   ;;
           esac
   }
   
 rebuildmake()  rebuildmake()
 {  {
         # Test make source file timestamps against installed ${toolprefix}make          # Test make source file timestamps against installed ${toolprefix}make
Line 1142  main()
Line 1164  main()
         _args=$@          _args=$@
         parseoptions "$@"          parseoptions "$@"
   
           sanitycheck
   
         build_start=$(date)          build_start=$(date)
         statusmsg "${progname} command: $0 $@"          statusmsg "${progname} command: $0 $@"
         statusmsg "${progname} started: ${build_start}"          statusmsg "${progname} started: ${build_start}"

Legend:
Removed from v.1.162  
changed lines
  Added in v.1.163

CVSweb <webmaster@jp.NetBSD.org>