зеркало из https://github.com/mozilla/pjs.git
OS/2 only - need to change how we get version for packaging since it is no longer in configure.in
This commit is contained in:
Родитель
8b2eaca5a6
Коммит
dcd3b230de
|
@ -66,13 +66,11 @@ $cwdInstall = GetCwd("install", $DEPTH, $ENV{MOZ_OBJDIR}, $cwdBuilder);
|
||||||
$cwdPackager = GetCwd("packager", $DEPTH, $ENV{MOZ_OBJDIR}, $cwdBuilder);
|
$cwdPackager = GetCwd("packager", $DEPTH, $ENV{MOZ_OBJDIR}, $cwdBuilder);
|
||||||
$cwdConfig = GetCwd("config", $DEPTH, $ENV{MOZ_OBJDIR}, $cwdBuilder);
|
$cwdConfig = GetCwd("config", $DEPTH, $ENV{MOZ_OBJDIR}, $cwdBuilder);
|
||||||
|
|
||||||
#get version from configure.in
|
push(@INC,"$DEPTH/config");
|
||||||
open(FILENEW, "<$DEPTH/configure.in");
|
|
||||||
do {
|
require "Moz/Milestone.pm";
|
||||||
$line = <FILENEW>;
|
|
||||||
} while ($line !~ /MOZILLA_VERSION/);
|
$version = Moz::Milestone::getOfficialMilestone("$DEPTH/config/milestone.txt");
|
||||||
close(FILENEW);
|
|
||||||
($therest, $version) = split(/'/,$line);
|
|
||||||
|
|
||||||
#get date from build_number file
|
#get date from build_number file
|
||||||
open(FILENEW, "<$cwdConfig/build_number");
|
open(FILENEW, "<$cwdConfig/build_number");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче