summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorunknown <kent@mysql.com>2006-03-08 03:51:59 +0100
committerunknown <kent@mysql.com>2006-03-08 03:51:59 +0100
commitcf11f78a6667680c7ca06c5db24de03f0fc6197b (patch)
tree45ee11a24ddad5acabb27e297615381d53b841ed /mysql-test/mysql-test-run.pl
parent19a1f488a8bfc5b223c86dc64dffc247b31b9ddf (diff)
downloadmariadb-git-cf11f78a6667680c7ca06c5db24de03f0fc6197b.tar.gz
mysql-test-run.pl:
Allow space in base directory path, bug#15736 mysql-test/mysql-test-run.pl: Allow space in base directory path, bug#15736
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 09c3dff9749..3c5bcfd2647 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -429,9 +429,9 @@ sub initial_setup () {
if ( $glob_cygwin_perl )
{
# Windows programs like 'mysqld' needs Windows paths
- $glob_mysql_test_dir= `cygpath -m $glob_mysql_test_dir`;
+ $glob_mysql_test_dir= `cygpath -m "$glob_mysql_test_dir"`;
my $shell= $ENV{'SHELL'} || "/bin/bash";
- $glob_cygwin_shell= `cygpath -w $shell`; # The Windows path c:\...
+ $glob_cygwin_shell= `cygpath -w "$shell"`; # The Windows path c:\...
chomp($glob_mysql_test_dir);
chomp($glob_cygwin_shell);
}