embedding/config/gre.pl
author Shawn Wilsher <sdwilsh@shawnwilsher.com>
Fri, 31 Oct 2008 20:38:58 -0400
changeset 21163 78b60e831d3c69108a8daa8d1145059e9830fd3e
parent 1 9b2a99adc05e53cd4010de512f50118594756650
permissions -rw-r--r--
Bug 461344 - abort if the version of sqlite we are using is not new enough This adds a runtime check to ensure that the version of SQLite that is running is the same as the one that we were compiled with. If the check fails, we will display a prompt to the user, and abort. r=bsmedberg

#!/usr/bin/perl

#
# gre.pl
#

while (<STDIN>) {
  s/\[Embed\]/\[$ARGV[0]\]/;
  print;
}