Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-stable
Commits
7bd329e6
Commit
7bd329e6
authored
Dec 08, 2004
by
Mike Hibler
Browse files
Fix check to ignore LOCK/UNLOCK/DELETE lines generated in the distribution
version of database-fill.sql
parent
e6a1e3e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/dbfillcheck.in
View file @
7bd329e6
...
...
@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
3
University of Utah and the Flux Group.
# Copyright (c) 2000-200
4
University of Utah and the Flux Group.
# All rights reserved.
#
use
strict
;
...
...
@@ -41,7 +41,7 @@ if (system("perl $export_tables | sort > $tempoldfile")) {
die
("
*** $0:
\n
"
.
"
$export_tables
failed!
\n
");
}
if
(
system
("
sort
$master_fill
>
$tempnewfile
"))
{
if
(
system
("
grep -E -v '^(LOCK|UNLOCK|DELETE) '
$master_fill
| sort
>
$tempnewfile
"))
{
unlink
(
$tempoldfile
);
die
("
*** $0:
\n
"
.
"
sort
$master_fill
failed!
\n
");
...
...
Write
Preview
Supports
Markdown
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