Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2aa2ae5a
Commit
2aa2ae5a
authored
Feb 01, 2005
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/space/my/mysql-4.0 into mysql.com:/space/my/mysql-4.1
parents
85f62aa6
46e0018b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Build-tools/Bootstrap
Build-tools/Bootstrap
+8
-2
No files found.
Build-tools/Bootstrap
View file @
2aa2ae5a
...
...
@@ -210,10 +210,16 @@ if (-d $target_dir)
}
else
{
&
logger
("
Renaming
$target_dir
to
$target_dir
.old.
"
.
$$
);
# Get the time stamp of "configure.in"
@stat
=
stat
("
$target_dir
/configure.in
");
my
$mtime
=
$stat
[
9
];
my
(
$sec
,
$min
,
$hour
,
$mday
,
$mon
,
$year
)
=
localtime
(
$mtime
);
my
$mtime
=
sprintf
("
%04d%-02d-%02d-%02d:%02d
",
$year
+
1900
,
$mon
+
1
,
$mday
,
$hour
,
$min
);
&
logger
("
Renaming
$target_dir
to
$target_dir
-
$mtime
");
$command
=
"
mv
";
$command
.=
"
-v
"
if
(
$opt_verbose
||
defined
$opt_log
);
$command
.=
"
$target_dir
$target_dir
.old.
"
.
$$
;
$command
.=
"
$target_dir
$target_dir
-
$mtime
"
;
&
run_command
(
$command
,
"
Could not rename
$target_dir
!
");
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment