projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a digit to qrg in sh/dx
[spider.git]
/
perl
/
create_usdb.pl
diff --git
a/perl/create_usdb.pl
b/perl/create_usdb.pl
index 575babc7b42ad50585a560d9c9b6bad2f850e9d7..8dd130953ac5e73f62195a8a6bdb838250a04ee9 100755
(executable)
--- 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)
#
#
# create a USDB file from a standard raw file (which is GZIPPED BTW)
#
@@
-16,16
+16,13
@@
BEGIN {
$root = "/spider";
$root = $ENV{'DXSPIDER_ROOT'} if $ENV{'DXSPIDER_ROOT'};
$root = "/spider";
$root = $ENV{'DXSPIDER_ROOT'} if $ENV{'DXSPIDER_ROOT'};
+ unshift @INC, "$root/perl"; # this IS the right way round!
unshift @INC, "$root/local";
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 DXVars;
+use SysVar;
use USDB;
die "no input (usdbraw?) files specified\n" unless @ARGV;
use USDB;
die "no input (usdbraw?) files specified\n" unless @ARGV;