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