mirror of https://github.com/perkeep/perkeep.git
dev-camget: don't pass --blobserver argument if using --shared
Change-Id: I9198c251b34ba06e03c78653eb83772044441c35
This commit is contained in:
parent
1053ea5847
commit
09a636caa8
|
@ -35,8 +35,13 @@ if ($opt_tls) {
|
|||
$blobserver =~ s/^http/https/;
|
||||
}
|
||||
|
||||
my @args;
|
||||
unless (grep { /^--?shared\b/ } @ARGV) {
|
||||
push @args, "--blobserver=$blobserver";
|
||||
}
|
||||
push @args, @ARGV;
|
||||
|
||||
exec("$camget",
|
||||
"--verbose",
|
||||
"--blobserver=$blobserver",
|
||||
@ARGV);
|
||||
@args);
|
||||
die "Failure running camget: $!";
|
||||
|
|
Loading…
Reference in New Issue