anchor.diff: -#!/bin/bash
  +#!/bin/sh
   
   # 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
  
positive.code:   platform="el"
  elif [ -f "/etc/system-release" ];
  then
    platform=$(sed 's/^\(.\+\) release.\+/\1/' /etc/system-release | tr '[A-Z]' '[a-z]')
    platform_version=$(sed 's/^.\+ release \([.0-9]\+\).*/\1/' /etc/system-release | tr '[A-Z]' '[a-z]')
    # amazon is built off of fedora, so act like RHEL
    if [ "$platform" = "amazon linux ami" ];
    then
  
negative.code: echo "Downloading Chef $version for ${platform}..."
  
  url="<%= locals[:download_url] %>?v=${version}&prerelease=${prerelease}&p=${platform}&pv=${platform_version}&m=${machine}"
  
  if [ "x$TMPDIR" = "x" ]; then
    tmp=$TMPDIR
  else
    tmp="/tmp"
  fi
  
  # secure-ish temp dir creation without having mktemp available (DDoS-able but not expliotable)
  tmp_dir="$tmp/install.sh.$$"
  (umask 077 && mkdir $tmp_dir) || exit 1
  
  if exists wget;
  then
  