Commit cf8c4d5a authored by Leigh B Stoller's avatar Leigh B Stoller

Left this out of previous commit with changes to SetRepo().

parent cbae7668
#!/usr/bin/perl -w
#
# Copyright (c) 2008-2016 University of Utah and the Flux Group.
# Copyright (c) 2008-2017 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.
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment