ver 3.0.05 determine tar executable on --help output error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Sandbox |
Fix Committed
|
High
|
Giuseppe Maxia |
Bug Description
$ make_file -- of
dies with message "this version of tar is not supported\n"
The Perl script tries to read a
$ tar --help
output with a regular expression /(?:bsdtar|
For me stupid I firstly guessed a March 2009 version of mysql_sandbox may restrict to support a later tar version 1.22 of Mai 2009. I then purged my tar package despite all Debian/Ubuntu warnings and tried to install an older version of it. Don't do this. The tar non-tar packages are in bad condition ;)
I am using a German version of Debian/Ubuntu
Linux version 2.6.18-6-xen-amd64 (Debian 2.6.18.
sorry, the command is
$ make_sandbox
and if fails in line 127:
if ($tar_version =~ /(?:bsdtar| gnu\s+tar) /i) {
die "this version of tar is not supported\n";
}
should it not be:
if ($tar_version !~ /(?:bsdtar| gnu\s+tar) /i) {
die "this version of tar is not supported\n";
}