anchor.diff:  #!/bin/bash
  +# Generated by pkgr.
   
   set -e
   
  
positive.code:   echo "--> done."
  }
  
  # Scale processes, using upstart as the process manager
  function scale() {
    PROCESS_NAME="$1"
    NEW_SCALE="$2"
  
negative.code:       COMMAND="$2"
        shift 2
  
        runnable=$(echo -n "cd ${HOME} && exec")
  
        if [ -f "${HOME}/vendor/pkgr/processes/${COMMAND}" ]; then
          # Command alias defined in Procfile
          runnable="${runnable}$(printf " %q" "vendor/pkgr/processes/${COMMAND}" "$@")"
        else
          # Everything else.
          #
          # We're going through printf to preserve quotes in arguments. See
          # <http://stackoverflow.com/questions/10835933 /preserve-quotes-in-
          # bash-arguments>.
          runnable="${runnable}$(printf " %q" ${COMMAND} "$@")"
        fi
  
        # Do not use su, to avoid creating a new process. Note: chroot version
        # is too old on Ubuntu Lucid, so this will fail. It works on Debian
        # Squeeze though (and later).
        exec chroot --userspec ${APP_USER}:${APP_GROUP} / sh -c "$runnable"
  
        break ;;
  
  