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 | 8ab3553bbac8b8250ed7a53994bdf5e7e0fe5a64 (patch) | |
tree | 9b4199b492d9940d7033964cd3d6180320172c41 /Build-tools | |
parent | 2aabd584e2fedae134f396da34d256a43d25d9ad (diff) | |
download | mariadb-git-8ab3553bbac8b8250ed7a53994bdf5e7e0fe5a64.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/!"); } } |