Add missing --git-dir=$srcdir/.git for ls-remote
Change-Id: I848b80cd8126d93cbf3ce02a333345f4ea6b4e92 Reviewed-on: https://code.wireshark.org/review/2231 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
14903d65c3
commit
fae6b0b573
|
@ -173,7 +173,7 @@ sub read_repo_info {
|
|||
$commit_id = $parts[-1];
|
||||
}
|
||||
|
||||
chomp($line = qx{git ls-remote --get-url origin});
|
||||
chomp($line = qx{git --git-dir=$srcdir/.git ls-remote --get-url origin});
|
||||
if (defined($line)) {
|
||||
$repo_url = $line;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue