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-devel
Commits
e1a530a3
Commit
e1a530a3
authored
Nov 02, 2009
by
Gary Wong
Browse files
Patch up any inconsistent SES entries in geni_authorities tables.
parent
8a806635
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/scripts/initsite.in
View file @
e1a530a3
...
...
@@ -439,6 +439,12 @@ foreach my $dbname ("geni", "geni-ch", "geni-cm") {
}
}
foreach
my
$dbname
(
"
geni
",
"
geni-ch
",
"
geni-cm
"
)
{
system
(
"
$MYSQL
-e
\"
UPDATE geni_authorities SET type='ses' WHERE
"
.
"
hrn LIKE '%.ses' AND type='';
\"
$dbname
"
)
==
0
or
fatal
(
"
Could not update SES type:
$dbname
"
);
}
#
# Now we can load the libraries.
#
...
...
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