anchor.diff:      ;;
   esac
   
  -if [ "x$platform_version" = "x" ]; then
  +if test "x$platform_version" = "x"; then
     echo "Unable to determine platform version!"
     report_bug
     exit 1
   fi
   
  -if [ $use_shell = 1 ]; then
  +
  +if test $use_shell = 1; then
     shell_filename
   else
     case $platform in
  
positive.code: 
    # x86_64 Apple hardware often runs 32-bit kernels (see OHAI-63)
    x86_64=`sysctl -n hw.optional.x86_64`
    if [ $x86_64 -eq 1 ]; then
      machine="x86_64"
    fi
  elif [ -f "/etc/release" ]; then
    platform="solaris2"
    machine=`/usr/bin/uname -p`
    platform_version=`/usr/bin/uname -r`
  elif [ -f "/etc/SuSE-release" ]; then
    if grep -q 'Enterprise' /etc/SuSE-release;
    then
        platform="sles"
  
negative.code: # 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"
  