]> scm.dxcluster.org Git - spider.git/commitdiff
Revert "fix 1.53 to work with old version method"
authorDirk Koopman <djk@tobit.co.uk>
Wed, 13 Jun 2007 21:49:09 +0000 (22:49 +0100)
committerDirk Koopman <djk@tobit.co.uk>
Wed, 13 Jun 2007 21:49:09 +0000 (22:49 +0100)
This reverts commit f6fdd9847c1f46b233be56296cad39ad949d25ae.

.gitignore [deleted file]
data/.gitignore [deleted file]
perl/cluster.pl

diff --git a/.gitignore b/.gitignore
deleted file mode 100644 (file)
index 43dd1b9..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-# standard things to ignore
-connect/*
-local
-local_cmd
diff --git a/data/.gitignore b/data/.gitignore
deleted file mode 100644 (file)
index 628c259..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-# things in data to ignore
-bad*
-debug
-*.v?
-log
-dupefile
-spots
-*.db
index e8e7cb0568b0f51fef1d93ff7a2aa50b55278452..8aade278e42ebe2bb38d1297b21cf6e85491a260 100755 (executable)
@@ -130,6 +130,15 @@ $bumpexisting = 1;                         # 1 = allow new connection to disconnect old, 0 - don't al
 $allowdxby = 0;                                        # 1 = allow "dx by <othercall>", 0 - don't allow it
 
 
+use vars qw($VERSION $BRANCH $build $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;
+$main::build -= 3;                             # fudge (put back for now)
+
+
+      
 # send a message to call on conn and disconnect
 sub already_conn
 {