~percona-toolkit-dev/percona-toolkit/pt-stalk-quiet

« back to all changes in this revision

Viewing changes to bin/pt-summary

  • Committer: Daniel Nichter
  • Date: 2013-01-24 19:08:09 UTC
  • Revision ID: daniel@percona.com-20130124190809-eeg9tnqyy9o1kiwd
Fix error caused on some boxes by using diff when it's not defined.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2289
2289
# Execute the program if it was not included from another file.  This makes it
2290
2290
# possible to include without executing, and thus test.
2291
2291
if    [ "${0##*/}" = "$TOOL" ] \
2292
 
   || [ "${0##*/}" = "bash" -a "$_" = "$0" ]; then
 
2292
   || [ "${0##*/}" = "bash" -a "${_:-""}" = "$0" ]; then
2293
2293
 
2294
2294
   # Set up temporary dir.
2295
2295
   mk_tmpdir