зеркало из https://github.com/mozilla/pjs.git
other part of fix for 46488 - fix mac build scripts to use NS_LITERAL_STRING so we have a unicode build date.
This commit is contained in:
Родитель
e2d0e02e30
Коммит
581fc10974
|
@ -1410,7 +1410,7 @@ sub BuildLayoutProjects()
|
|||
my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime;
|
||||
# localtime returns year minus 1900
|
||||
$year = $year + 1900;
|
||||
printf(OUTPUT "#define PRODUCT_VERSION \"%04d%02d%02d\"\n", $year, 1+$mon, $mday);
|
||||
printf(OUTPUT "#define PRODUCT_VERSION NS_LITERAL_STRING(\"%04d%02d%02d\").get()\n", $year, 1+$mon, $mday);
|
||||
close(OUTPUT);
|
||||
|
||||
#//
|
||||
|
|
Загрузка…
Ссылка в новой задаче