~percona-toolkit-dev/percona-toolkit/release-2.2.13

« back to all changes in this revision

Viewing changes to bin/pt-sift

  • Committer: Frank Cizmich
  • Date: 2014-11-18 21:41:23 UTC
  • mfrom: (608.1.31 release-2.2.12)
  • Revision ID: frank.cizmich@percona.com-20141118214123-hyj5wno2onb5wo6o
merged release-2.2.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
 
128
128
usage_or_errors() {
129
129
   local file="$1"
 
130
   local version=""
130
131
 
131
132
   if [ "$OPT_VERSION" ]; then
132
 
      local version=$(grep '^pt-[^ ]\+ [0-9]' "$file")
 
133
      version=$(grep '^pt-[^ ]\+ [0-9]' "$file")
133
134
      echo "$version"
134
135
      return 1
135
136
   fi
351
352
 
352
353
         [ "$config_opt" = "" ] && continue
353
354
 
 
355
         echo "$config_opt" | grep -v 'version-check' >/dev/null 2>&1 || continue
 
356
 
354
357
         if ! [ "$HAVE_EXT_ARGV" ]; then
355
358
            config_opt="--$config_opt"
356
359
         fi
1237
1240
 
1238
1241
=head1 VERSION
1239
1242
 
1240
 
pt-sift 2.2.11
 
1243
pt-sift 2.2.12
1241
1244
 
1242
1245
=cut
1243
1246