anchor.diff:    else
       return 1
     fi
  -}
  -
  -# Set the filename for a deb, based on version and machine
  -deb_filename() {
  -  filetype="deb"
  -  if test "$machine" = "x86_64"; then
  -    filename="chef_${version}_amd64.deb"
  -  else
  -    filename="chef_${version}_i386.deb"
  -  fi
  -}
  -
  -# Set the filename for an rpm, based on version and machine
  -rpm_filename() {
  -  filetype="rpm"
  -  filename="chef-${version}.${machine}.rpm"
  -}
  -
  -# Set the filename for a Solaris SVR4 package, based on version and machine
  -svr4_filename() {
  -  filetype="solaris"
  -  filename="chef-${version}.${machine}.solaris"
  -}
  -
  -aix_filename() {
  -  filetype="bff"
  -  filename="chef-${version}.${machine}.bff"
  -}
  -
  -# Set the filename for the sh archive
  -shell_filename() {
  -  filetype="sh"
  -  filename="chef-${version}-${platform}-${platform_version}-${machine}.sh"
   }
   
   report_bug() {
  
positive.code: # See the License for the specific language governing permissions and
  # limitations under the License.
  #
  
  # This is the current stable release to default to, with Omnibus patch level (e.g. 10.12.0-1)
  # Note that the chef template downloads 'x.y.z' not 'x.y.z-r' which should be a duplicate of the latest -r
  use_shell=0
  
  prerelease="false"
  
  
negative.code: }
  
  # Get command line arguments
  while getopts pv:f:P: opt
  do
    case "$opt" in
  
      v)  version="$OPTARG";;
      p)  prerelease="true";;
      f)  cmdline_filename="$OPTARG";;
      P)  project="$OPTARG";;
      \?)   # unknown flag
        echo >&2 \
        "usage: $0 [-p] [-v version] [-f filename]"
        exit 1;;
    esac
  done
  