config/build_header.pl
author Dave Townsend <dtownsend@oxymoronical.com>
Thu, 30 Oct 2008 12:16:11 +0000
changeset 21097 b9dd40cbf22d661fa87b32dbbcd209963d22e023
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
Bustage fix for bug 442419: allow custom max for progressmeter

open INFILE, "<$ARGV[1]";
$build = <INFILE>;
close INFILE;
chop $build;
open OUTFILE, ">$ARGV[0]" || die;

print OUTFILE "/* THIS IS A GENERATED FILE!\n*\n";
print OUTFILE "* See mozilla/config/build_header.pl */\n*\n*/";
print OUTFILE "\n\#define NS_BUILD_ID " . $build . "\n";

close OUTFILE;