diff options
author | unknown <lenz@mysql.com> | 2003-08-19 18:34:44 +0200 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2003-08-19 18:34:44 +0200 |
commit | 7b7418e1fe2ac233f0d4d0ac9e800b30e20d7de2 (patch) | |
tree | fd9c69d6c5b7b35e1c6ee836292efef8aaacbb6f /Build-tools | |
parent | 0c7c1d0ef0773ba5a0bfd1e6eef21ffc7e3e806c (diff) | |
download | mariadb-git-7b7418e1fe2ac233f0d4d0ac9e800b30e20d7de2.tar.gz |
- Added a missing directory variable definition to the Bootstrap script.
Build-tools/Bootstrap:
- defined $opt_directory to be the present working directory. No clue how
this worked before...
Diffstat (limited to 'Build-tools')
-rwxr-xr-x | Build-tools/Bootstrap | 3 |
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\"!"); } |