mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
macos panic decoder update
make it able to decode prerelease and point release panics Change-Id: Ibf28a7df7f0a21ff8f297d548a6b853a5e296064 Reviewed-on: http://gerrit.openafs.org/1692 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
ec74299c7c
commit
fc02ed1065
@ -139,6 +139,13 @@ sub extract_openafs {
|
||||
|
||||
$oversion =~ /org.openafs.filesystems.afs\(([0-9.]+)\)/;
|
||||
my $vers = $1;
|
||||
$vers =~ s/fc/pre/;
|
||||
my $dmgvers = $vers;
|
||||
if ($vers =~ /([0-9]+)f([0-9]+)/) {
|
||||
$dmgvers = "$1" . "." . "$2";
|
||||
$vers = "$1";
|
||||
}
|
||||
|
||||
my $odmg = "$oarchive/$vers/macos-10.${major}/OpenAFS-$vers-\*.dmg";
|
||||
if ($option_verbose) {
|
||||
print "$hdutil $odmg extractall OpenAFS.pkg $tempdir/OpenAFS.pkg\n";
|
||||
|
Loading…
Reference in New Issue
Block a user