[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.300 and 1.301

version 1.300, 2014/11/06 02:02:48 version 1.301, 2014/11/10 09:59:33
Line 1319  parseoptions()
Line 1319  parseoptions()
                         exit $?                          exit $?
                         ;;                          ;;
   
                 makewrapper|cleandir|obj|tools|build|distribution|release|sets|sourcesets|syspkgs|params)  
                         ;;  
   
                 iso-image)  
                         op=iso_image    # used as part of a variable name  
                         ;;  
   
                 iso-image-source)  
                         op=iso_image_source   # used as part of a variable name  
                         ;;  
   
                 live-image)  
                         op=live_image   # used as part of a variable name  
                         ;;  
   
                 install-image)  
                         op=install_image # used as part of a variable name  
                         ;;  
   
                 kernel=*|releasekernel=*|kernel.gdb=*)                  kernel=*|releasekernel=*|kernel.gdb=*)
                         arg=${op#*=}                          arg=${op#*=}
                         op=${op%%=*}                          op=${op%%=*}
Line 1345  parseoptions()
Line 1326  parseoptions()
                             bomb "Must supply a kernel name with \`${op}=...'"                              bomb "Must supply a kernel name with \`${op}=...'"
                         ;;                          ;;
   
                 kernels)  
                         op=kernels  
                         ;;  
   
                 disk-image=*)                  disk-image=*)
                         arg=${op#*=}                          arg=${op#*=}
                         op=disk_image                          op=disk_image
Line 1357  parseoptions()
Line 1334  parseoptions()
   
                         ;;                          ;;
   
                 modules)  
                         op=modules  
                         ;;  
   
                 install=*|installmodules=*)                  install=*|installmodules=*)
                         arg=${op#*=}                          arg=${op#*=}
                         op=${op%%=*}                          op=${op%%=*}
Line 1368  parseoptions()
Line 1341  parseoptions()
                             bomb "Must supply a directory with \`install=...'"                              bomb "Must supply a directory with \`install=...'"
                         ;;                          ;;
   
                 rump|rumptest)                  build|\
                         op=${op}                  cleandir|\
                   distribution|\
                   install-image|\
                   iso-image-source|\
                   iso-image|\
                   kernels|\
                   live-image|\
                   makewrapper|\
                   modules|\
                   obj|\
                   params|\
                   release|\
                   rump|\
                   rumptest|\
                   sets|\
                   sourcesets|\
                   syspkgs|\
                   tools)
                         ;;                          ;;
   
                 *)                  *)
Line 1377  parseoptions()
Line 1367  parseoptions()
                         ;;                          ;;
   
                 esac                  esac
                   # ${op} may contain chars that are not allowed in variable
                   # names.  Replace them with '_' before setting do_${op}.
                   op="$( echo "$op" | tr -s '.-' '__')"
                 eval do_${op}=true                  eval do_${op}=true
         done          done
         [ -n "${operations}" ] || usage "Missing operation to perform."          [ -n "${operations}" ] || usage "Missing operation to perform."

Legend:
Removed from v.1.300  
changed lines
  Added in v.1.301

CVSweb <webmaster@jp.NetBSD.org>