Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
cf8c4d5a
Commit
cf8c4d5a
authored
Jan 20, 2017
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Left this out of previous commit with changes to SetRepo().
parent
cbae7668
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
apt/create_instance.in
apt/create_instance.in
+7
-6
No files found.
apt/create_instance.in
View file @
cf8c4d5a
#!/usr/bin/perl -w
#
# Copyright (c) 2008-201
6
University of Utah and the Flux Group.
# Copyright (c) 2008-201
7
University of Utah and the Flux Group.
#
# {{{GENIPUBLIC-LICENSE
#
...
...
@@ -356,11 +356,6 @@ if ($profile->repourl()) {
$reporef
=
"
refs/heads/master
";
$repohash
=
$profile
->
repohash
();
}
my
$tmp
=
APT_Profile::
SetRepo
(
\
$rspecstr
,
$profile
->
repourl
(),
$reporef
,
$repohash
,
\
$errmsg
);
if
(
$tmp
)
{
(
$tmp
<
0
?
fatal
(
$errmsg
)
:
UserError
(
$errmsg
));
}
}
#
...
...
@@ -641,6 +636,12 @@ elsif (!$localuser) {
fatal
("
Project
$pid
does not exist
");
}
}
$tmp
=
APT_Profile::
SetRepo
(
\
$rspecstr
,
$profile
->
repourl
(),
$reporef
,
$repohash
,
$geniuser
,
\
$errmsg
);
if
(
$tmp
)
{
(
$tmp
<
0
?
fatal
(
$errmsg
)
:
UserError
(
$errmsg
));
}
#
# Now we know where to send to logs.
#
...
...
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