Allow synonyms for localhost
[spider.git] / perl / create_usdb.pl
index f7242cf75f1b07e497a4f1f6db67077457966e61..8dd130953ac5e73f62195a8a6bdb838250a04ee9 100755 (executable)
@@ -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;