[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.188 and 1.189

version 1.188, 2008/04/30 13:10:46 version 1.189, 2008/06/27 21:38:36
Line 464  unsetmakeenv()
Line 464  unsetmakeenv()
         makeenv="${makeenv} $1"          makeenv="${makeenv} $1"
 }  }
   
   # Convert possibly-relative paths to absolute paths by prepending
   # ${TOP} if necessary.  Also delete trailing "/", if any.
   resolvepaths()
   {
           _OPTARG=
           for oa in ${OPTARG}; do
                   case "${oa}" in
                   /)
                           ;;
                   /*)
                           oa="${oa%/}"
                           ;;
                   *)
                           oa="${TOP}/${oa%/}"
                           ;;
                   esac
                   _OPTARG="${_OPTARG} ${oa}"
           done
           OPTARG="${_OPTARG}"
   }
   
 # Convert possibly-relative path to absolute path by prepending  # Convert possibly-relative path to absolute path by prepending
 # ${TOP} if necessary.  Also delete trailing "/", if any.  # ${TOP} if necessary.  Also delete trailing "/", if any.
 resolvepath()  resolvepath()
Line 605  parseoptions()
Line 626  parseoptions()
                         ;;                          ;;
   
                 -C)                  -C)
                         eval ${optargcmd}; resolvepath                          eval ${optargcmd}; resolvepaths
                         iso_dir=${OPTARG}                          iso_dir=${OPTARG}
                         ;;                          ;;
   
Line 1317  main()
Line 1338  main()
   
                 iso-image|iso-image-source)                  iso-image|iso-image-source)
                         ${runcmd} "${makewrapper}" ${parallel} \                          ${runcmd} "${makewrapper}" ${parallel} \
                             CDEXTRA=$iso_dir ${op} ||                              CDEXTRA="$iso_dir" ${op} ||
                             bomb "Failed to make ${op}"                              bomb "Failed to make ${op}"
                         statusmsg "Successful make ${op}"                          statusmsg "Successful make ${op}"
                         ;;                          ;;

Legend:
Removed from v.1.188  
changed lines
  Added in v.1.189

CVSweb <webmaster@jp.NetBSD.org>