projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try to fix DXSubprocess errors
[spider.git]
/
perl
/
create_usdb.pl
diff --git
a/perl/create_usdb.pl
b/perl/create_usdb.pl
index f7242cf75f1b07e497a4f1f6db67077457966e61..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)
#
@@
-18,15
+18,11
@@
BEGIN {
unshift @INC, "$root/perl"; # this IS the right way round!
unshift @INC, "$root/local";
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 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;