[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.314.2.1 and 1.315

version 1.314.2.1, 2017/04/21 16:50:41 version 1.315, 2017/03/10 17:15:47
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)
         if [ ! -x "${cvslatest}" ]; then          MKREPRO_TIMESTAMP=$(${cvslatest} ${dirs})
                 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" "$(TZ=UTC date -r ${MKREPRO_TIMESTAMP})"          statusmsg2 "MKREPRO_TIMESTAMP" "$(date -r ${MKREPRO_TIMESTAMP})"
         export MKREPRO MKREPRO_TIMESTAMP          export MKREPRO MKREPRO_TIMESTAMP
 }  }
   
Line 2238  main()
Line 2236  main()
         rebuildmake          rebuildmake
         validatemakeparams          validatemakeparams
         createmakewrapper          createmakewrapper
         setup_mkrepro  
   
         # Perform the operations.          # Perform the operations.
         #          #
Line 2262  main()
Line 2259  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.314.2.1  
changed lines
  Added in v.1.315

CVSweb <webmaster@jp.NetBSD.org>