Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
61d9c882
Commit
61d9c882
authored
Jan 27, 2005
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Split package dir for ops/boss in emulabconfig command.
parent
decfb004
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
tmcd/tmcd.c
tmcd/tmcd.c
+5
-2
No files found.
tmcd/tmcd.c
View file @
61d9c882
...
...
@@ -5492,12 +5492,15 @@ COMMAND_PROTOTYPE(doemulabconfig)
nrows
=
(
int
)
mysql_num_rows
(
res
);
while
(
nrows
--
)
{
row
=
mysql_fetch_row
(
res
);
if
(
strcmp
(
row
[
0
],
"elabinelab/
pkg_path
"
)
==
0
)
{
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"
PKG_PATH
=%s
\n
"
,
if
(
strcmp
(
row
[
0
],
"elabinelab/
boss_pkg_dir
"
)
==
0
)
{
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"
BOSS_PKG_DIR
=%s
\n
"
,
row
[
1
]);
}
else
if
(
strcmp
(
row
[
0
],
"elabinelab/boss_pkg"
)
==
0
)
{
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"BOSS_PKG=%s
\n
"
,
row
[
1
]);
}
else
if
(
strcmp
(
row
[
0
],
"elabinelab/ops_pkg_dir"
)
==
0
)
{
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"OPS_PKG_DIR=%s
\n
"
,
row
[
1
]);
}
else
if
(
strcmp
(
row
[
0
],
"elabinelab/ops_pkg"
)
==
0
)
{
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"OPS_PKG=%s
\n
"
,
row
[
1
]);
...
...
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