diff options
author | unknown <lenz@mysql.com> | 2003-12-13 04:33:36 +0100 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2003-12-13 04:33:36 +0100 |
commit | 365a17b7fba5b45b78635d3a6f42849e594c56a1 (patch) | |
tree | 9b4199b492d9940d7033964cd3d6180320172c41 /Build-tools | |
parent | 98453fecd61d97afe45aa42d59bc635481bf55a8 (diff) | |
download | mariadb-git-365a17b7fba5b45b78635d3a6f42849e594c56a1.tar.gz |
- Output redirection does not work with run_command(), use system()
instead.
Diffstat (limited to 'Build-tools')
-rwxr-xr-x | Build-tools/Bootstrap | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Build-tools/Bootstrap b/Build-tools/Bootstrap index a08006e1eac..7d3ac1322f4 100755 --- a/Build-tools/Bootstrap +++ b/Build-tools/Bootstrap @@ -278,9 +278,8 @@ unless ($opt_skip_manual) &logger($msg); foreach $file qw/internals manual reservedwords/ { - $command= "bk cat $opt_docdir/Docs/$file.texi"; - $command.= " > $target_dir/Docs/$file.texi"; - &run_command($command, "Could not updated $file.texi in $target_dir/Docs/!"); + system ("bk cat $opt_docdir/Docs/$file.texi > $target_dir/Docs/$file.texi") == 0 + or &abort("Could not update $file.texi in $target_dir/Docs/!"); } } |