Use $PR_mext instead of pt-mext.

This commit is contained in:
Daniel Nichter
2011-11-04 10:22:34 -06:00
parent cd5611b8b3
commit aa1b0802a2

View File

@@ -376,7 +376,7 @@ main() {
# Grab the first 4 samples by looking for blank lines.
# I'll rewrite pt-mext and this will be simpler in future.
# TODO: upgrade, if pt-mext is fixed :)
awk '/---/{if(i++>12){exit}}{print}' "${BASEDIR}/${PREFIX}-mysqladmin" | pt-mext -r -- cat - | less -S
awk '/---/{if(i++>12){exit}}{print}' "${BASEDIR}/${PREFIX}-mysqladmin" | $PR_mext -r -- cat - | less -S
echo "Press a key to continue or choose a different action"
;;