X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcreate_usdb.pl;h=8dd130953ac5e73f62195a8a6bdb838250a04ee9;hb=772dc67533220a11f5ff6962abff8ea46d247ece;hp=f7242cf75f1b07e497a4f1f6db67077457966e61;hpb=41e0fd6ea6aea6950255f3671c6e8c5c6f71fded;p=spider.git diff --git a/perl/create_usdb.pl b/perl/create_usdb.pl index f7242cf7..8dd13095 100755 --- a/perl/create_usdb.pl +++ b/perl/create_usdb.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # create a USDB file from a standard raw file (which is GZIPPED BTW) # @@ -18,15 +18,11 @@ BEGIN { unshift @INC, "$root/perl"; # this IS the right way round! unshift @INC, "$root/local"; + } -use vars qw($VERSION $BRANCH); -$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); -$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0)); -$main::build += $VERSION; -$main::branch += $BRANCH; - use DXVars; +use SysVar; use USDB; die "no input (usdbraw?) files specified\n" unless @ARGV;