[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.315 and 1.316

version 1.315, 2017/03/10 17:15:47 version 1.316, 2017/04/08 18:22:35
Line 2194  setup_mkrepro()
Line 2194  setup_mkrepro()
         if [ ${MKREPRO-no} != "yes" ]; then          if [ ${MKREPRO-no} != "yes" ]; then
                 return                  return
         fi          fi
         buildtools  
         local dirs=${NETBSDSRCDIR-/usr/src}/          local dirs=${NETBSDSRCDIR-/usr/src}/
         if [ ${MKX11-no} = "yes" ]; then          if [ ${MKX11-no} = "yes" ]; then
                 dirs="$dirs ${X11SRCDIR-/usr/xsrc}/"                  dirs="$dirs ${X11SRCDIR-/usr/xsrc}/"
         fi          fi
         local cvslatest=$(print_tooldir_program cvslatest)          local cvslatest=$(print_tooldir_program cvslatest)
         MKREPRO_TIMESTAMP=$(${cvslatest} ${dirs})          if [ ! -x "${cvslatest}" ]; then
                   buildtools
           fi
           MKREPRO_TIMESTAMP=$("${cvslatest}" ${dirs})
         [ -n "${MKREPRO_TIMESTAMP}" ] || bomb "Failed to compute timestamp"          [ -n "${MKREPRO_TIMESTAMP}" ] || bomb "Failed to compute timestamp"
         statusmsg2 "MKREPRO_TIMESTAMP" "$(date -r ${MKREPRO_TIMESTAMP})"          statusmsg2 "MKREPRO_TIMESTAMP" "$(TZ=UTC date -r ${MKREPRO_TIMESTAMP})"
         export MKREPRO MKREPRO_TIMESTAMP          export MKREPRO MKREPRO_TIMESTAMP
 }  }
   
Line 2236  main()
Line 2238  main()
         rebuildmake          rebuildmake
         validatemakeparams          validatemakeparams
         createmakewrapper          createmakewrapper
           setup_mkrepro
   
         # Perform the operations.          # Perform the operations.
         #          #
Line 2259  main()
Line 2262  main()
                         ;;                          ;;
   
                 build|distribution|release)                  build|distribution|release)
                         setup_mkrepro  
                         ${runcmd} "${makewrapper}" ${parallel} ${op} ||                          ${runcmd} "${makewrapper}" ${parallel} ${op} ||
                             bomb "Failed to make ${op}"                              bomb "Failed to make ${op}"
                         statusmsg "Successful make ${op}"                          statusmsg "Successful make ${op}"

Legend:
Removed from v.1.315  
changed lines
  Added in v.1.316

CVSweb <webmaster@jp.NetBSD.org>