summaryrefslogtreecommitdiff
path: root/Build-tools/Bootstrap
diff options
context:
space:
mode:
authorlenz@mysql.com <>2003-12-13 04:33:36 +0100
committerlenz@mysql.com <>2003-12-13 04:33:36 +0100
commit9f9510026fe9ec45451217902dd49379fa05a934 (patch)
tree9b4199b492d9940d7033964cd3d6180320172c41 /Build-tools/Bootstrap
parent8411769272b6699e76fa11a23b930e3be6b16ebf (diff)
downloadmariadb-git-9f9510026fe9ec45451217902dd49379fa05a934.tar.gz
- Output redirection does not work with run_command(), use system()
instead.
Diffstat (limited to 'Build-tools/Bootstrap')
-rwxr-xr-xBuild-tools/Bootstrap5
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/!");
}
}