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:
mkaply%us.ibm.com 2002-11-19 05:28:19 +00:00
Родитель 8b2eaca5a6
Коммит dcd3b230de
1 изменённых файлов: 5 добавлений и 7 удалений

Просмотреть файл

@ -66,13 +66,11 @@ $cwdInstall = GetCwd("install", $DEPTH, $ENV{MOZ_OBJDIR}, $cwdBuilder);
$cwdPackager = GetCwd("packager", $DEPTH, $ENV{MOZ_OBJDIR}, $cwdBuilder);
$cwdConfig = GetCwd("config", $DEPTH, $ENV{MOZ_OBJDIR}, $cwdBuilder);
#get version from configure.in
open(FILENEW, "<$DEPTH/configure.in");
do {
$line = <FILENEW>;
} while ($line !~ /MOZILLA_VERSION/);
close(FILENEW);
($therest, $version) = split(/'/,$line);
push(@INC,"$DEPTH/config");
require "Moz/Milestone.pm";
$version = Moz::Milestone::getOfficialMilestone("$DEPTH/config/milestone.txt");
#get date from build_number file
open(FILENEW, "<$cwdConfig/build_number");