From 6315fef87a7f7366f983ef5da8a735586a2a78bd Mon Sep 17 00:00:00 2001 From: "seawood%netscape.com" Date: Wed, 12 Mar 2003 04:25:33 +0000 Subject: [PATCH] Treat the GRE ID as a string. Bug #195840 r=dougt git-svn-id: svn://10.0.0.236/trunk@139316 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/config/mozBDate.pm | 6 +++--- mozilla/config/nsBuildID.h.in | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mozilla/config/mozBDate.pm b/mozilla/config/mozBDate.pm index 56d7f3b3e0b..cbb89700cbc 100755 --- a/mozilla/config/mozBDate.pm +++ b/mozilla/config/mozBDate.pm @@ -126,11 +126,11 @@ sub SubstituteBuildNumber($$$) { } elsif ($id =~ "GRE_BUILD_ID") { if (defined($ENV{'MOZ_MILESTONE_RELEASE'})) { - $temp = "GRE_BUILD_ID " . $milestone; + $temp = "GRE_BUILD_ID \"$milestone\""; } else { - $temp = "GRE_BUILD_ID " . "${milestone}_${build}"; + $temp = "GRE_BUILD_ID \"${milestone}_${build}\""; } - $id =~ s/GRE_BUILD_ID\s\d+/$temp/; + $id =~ s/GRE_BUILD_ID\s\"\d+\"/$temp/; print $OUTFILE $id; } else { diff --git a/mozilla/config/nsBuildID.h.in b/mozilla/config/nsBuildID.h.in index afde5e17b42..4f894cfad3c 100644 --- a/mozilla/config/nsBuildID.h.in +++ b/mozilla/config/nsBuildID.h.in @@ -17,7 +17,7 @@ * GRE_BUILD_ID will just contain . * */ -#define GRE_BUILD_ID 00000000000 +#define GRE_BUILD_ID "00000000000" #endif /* _NSBUILDID_H_ */