config/build_header.pl
author gavin@gavinsharp.com
Sun, 11 May 2008 13:12:29 -0700
changeset 15109 be617a342bdf574a8870dcb776dc0f10417ce3e5
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
Back out bug 432938 because it caused bug 433241, a=schrep/beltzner

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;