summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2003-08-19 18:35:31 +0200
committerunknown <lenz@mysql.com>2003-08-19 18:35:31 +0200
commit67301c606c0ee65bce7b2da2bac23457a6499c70 (patch)
tree013eee26e479612173b6da6503976777a974fca1
parentd43a347db179f4601465debc3bfd3cfbb87d1528 (diff)
parentbe9744817cc44b3e2f93d1b0b86ffeec261a0480 (diff)
downloadmariadb-git-67301c606c0ee65bce7b2da2bac23457a6499c70.tar.gz
Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build
-rwxr-xr-xBuild-tools/Bootstrap3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build-tools/Bootstrap b/Build-tools/Bootstrap
index 4a2e6f284f2..94446d9880f 100755
--- a/Build-tools/Bootstrap
+++ b/Build-tools/Bootstrap
@@ -33,6 +33,7 @@ $opt_docdir= $PWD . "/mysqldoc";
$opt_build_command= undef;
$opt_changelog= undef;
$opt_delete= undef;
+$opt_directory= $PWD;
$opt_dry_run= undef;
$opt_export_only= undef;
$opt_help= $opt_verbose= 0;
@@ -104,7 +105,7 @@ defined($REPO=$ARGV[0]) || print_help("Please enter the BK repository to be used
system ("bk help > /dev/null") == 0 or &abort("Cannot execute BitKeeper binary!");
system ("bk root $REPO > /dev/null 2>&1") == 0 or &abort("$REPO does not seem to be a valid BK repository!");
-if (($opt_directory ne ".") && (!-d $opt_directory && !$opt_dry_run))
+if (($opt_directory ne $PWD) && (!-d $opt_directory && !$opt_dry_run))
{
&abort("Could not find target directory \"$opt_directory\"!");
}