patch-bin_pt-sift 656 B

12345678910111213141516
  1. $OpenBSD: patch-bin_pt-sift,v 1.3 2012/08/10 14:09:22 giovanni Exp $
  2. --- bin/pt-sift.orig Fri Aug 3 20:49:24 2012
  3. +++ bin/pt-sift Fri Aug 10 12:14:45 2012
  4. @@ -137,11 +137,6 @@ main() {
  5. eval "PR_$prog_base"="./$prog"
  6. elif [ -f "${BASEDIR}/$prog" -a -x "${BASEDIR}/$prog" ]; then
  7. eval "PR_$prog_base"="${BASEDIR}/$prog"
  8. - elif which "curl" >/dev/null 2>&1; then
  9. - echo "Fetching $prog" >&2
  10. - curl "http://www.percona.com/get/$prog" > "$prog" && chmod +x "$prog"
  11. - eval "PR_$prog_base"="./$prog"
  12. - else
  13. echo "Cannot find or fetch required program: $prog" >&2
  14. exit 1
  15. fi