You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2020/12/10 17:27:35 UTC
[openoffice] branch AOO42X updated: Remove code that uses a
non-existent file (#110)
This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/AOO42X by this push:
new d447a5e Remove code that uses a non-existent file (#110)
d447a5e is described below
commit d447a5ecade62d06f86e7c761ed3fb8981a56c20
Author: NordMike <vo...@gmail.com>
AuthorDate: Thu Dec 10 20:27:21 2020 +0300
Remove code that uses a non-existent file (#110)
This code block tries to move $outfile while the previous code doesn't create
$outfile; only $outfile_sh and possibly $outfile_bat are created.
---
main/set_soenv.in | 5 -----
1 file changed, 5 deletions(-)
diff --git a/main/set_soenv.in b/main/set_soenv.in
index 32f6a6c..47b1d07 100644
--- a/main/set_soenv.in
+++ b/main/set_soenv.in
@@ -2167,11 +2167,6 @@ if( defined($outfile_bat))
# XI. Moving the output file to the build home directory.
#--------------------------------------------------------
#
-$tmp = $SRC_ROOT.$ds.$outfile;
-if (rename( $outfile, $tmp ) ne 1)
-{ `mv -f $outfile $tmp`;
-}
-
$tmp = $SRC_ROOT.$ds.$outfile_sh;
if (rename( $outfile_sh, $tmp ) ne 1)
{ `mv -f $outfile_sh $tmp`;