config/build_header.pl
author reed@reedloden.com
Tue, 29 Jan 2008 10:38:15 -0800
changeset 10924 c240b3f25bb784ee39ab1baf99e7fcd12077be68
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
Bug 66057 - "Proxy: $http_proxy should influence proxy settings" [p=roc@ocallahan.org (Robert O'Callahan [roc]) / diane@ghic.org (Diane Trout) / ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r=josh r+sr=biesi a1.9=damons]

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;