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
3bf0b972
Commit
3bf0b972
authored
Jun 11, 2004
by
patg@krsna.patg.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql-copyright:
Small fixes to handle packaging of windows src (commercial) file
parent
30bed1bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
Build-tools/mysql-copyright
Build-tools/mysql-copyright
+7
-3
No files found.
Build-tools/mysql-copyright
View file @
3bf0b972
...
...
@@ -131,13 +131,17 @@ sub main
rename
(
$destdir
,
$newdistname
);
# tar the new distribution
`
tar cz -f
$
opt_target
/
$newdistname
.tar.gz
$newdistname
`;
`
tar cz -f
$
WD
/
$newdistname
.tar.gz
$newdistname
`;
$pec
=
$?
>>
8
;
abort
(
$dir
,
"
Making new tar archive failed!
\n
")
if
(
$pec
);
# remove temporary directory
chdir
"
..
";
`
rm -rf
$dir
/
`;
chdir
(
$WD
)
or
print
"
$! Unable to move up one dir
\n
";
print
"
deleting temp dir
$dir
\n
";
if
(
-
d
"
$WD
/
$dir
")
{
system
("
rm -rf
$WD
/
$dir
")
or
print
"
$! Unable to delete
$WD
/
$dir
!
\n
";
}
}
exit
(
0
);
}
...
...
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