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
12db4bf5
Commit
12db4bf5
authored
Feb 10, 2005
by
joerg@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/M40/mysql-4.0 into mysql.com:/M40/push-4.0
parents
5d7a829d
a710d106
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Build-tools/Do-compile
Build-tools/Do-compile
+4
-2
No files found.
Build-tools/Do-compile
View file @
12db4bf5
...
@@ -729,7 +729,7 @@ sub find
...
@@ -729,7 +729,7 @@ sub find
sub
rm_all
sub
rm_all
{
{
my
(
@rm_files
)
=
@_
;
my
(
@rm_files
)
=
@_
;
my
(
$dir
,
$current_dir
,
@files
,
@dirs
);
my
(
$dir
,
$current_dir
,
@files
,
@dirs
,
$removed
);
$current_dir
=
`
pwd
`;
chomp
(
$current_dir
);
$current_dir
=
`
pwd
`;
chomp
(
$current_dir
);
foreach
$dir
(
@rm_files
)
foreach
$dir
(
@rm_files
)
...
@@ -753,7 +753,9 @@ sub rm_all
...
@@ -753,7 +753,9 @@ sub rm_all
}
}
if
(
$#files
>=
0
)
if
(
$#files
>=
0
)
{
{
system
("
rm -f
"
.
join
("
",
@files
))
&&
abort
("
Can't remove files from
$dir
");
$removed
=
unlink
@files
;
print
"
rm_all : removed
$removed
files in
$current_dir
/
$dir
\n
"
if
(
$opt_debug
);
abort
("
Can't remove all $#files+1 from
$current_dir
/
$dir
, just
$removed
")
if
$removed
!=
$#files
+
1
;
}
}
foreach
$dir
(
@dirs
)
foreach
$dir
(
@dirs
)
{
{
...
...
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