projects
/
onis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
25ac30d
)
Merged main onis file from trunk.
author
octo
<octo>
Sun, 10 Apr 2005 10:53:26 +0000
(10:53 +0000)
committer
octo
<octo>
Sun, 10 Apr 2005 10:53:26 +0000
(10:53 +0000)
onis
patch
|
blob
|
history
diff --git
a/onis
b/onis
index
650d8a5
..
7d794b0
100755
(executable)
--- a/
onis
+++ b/
onis
@@
-37,14
+37,21
@@
use Onis::Config qw/get_config parse_argv read_config/;
use File::Basename qw/dirname/;
use Fcntl qw/:flock/;
use File::Basename qw/dirname/;
use Fcntl qw/:flock/;
-use vars qw/$VERSION/;
+use vars qw/$VERSION
$REVISION
/;
-$VERSION = '0.7.2';
+$VERSION = '';
+$REVISION = '$LastChangedRevision$';
+
+if (!$VERSION)
+{
+ $VERSION = $REVISION;
+ $VERSION =~ s/^\D*(\d+).*/r$1/;
+}
our $FILEINFO;
our $PURGE_LOGS = 0;
our $FILEINFO;
our $PURGE_LOGS = 0;
-print STDERR $/, __FILE__, ': $Id
: onis,v 1.18 2005/01/21 18:59:59 octo Exp
$' if ($::DEBUG);
+print STDERR $/, __FILE__, ': $Id$' if ($::DEBUG);
parse_argv (@ARGV);
read_config (get_config ('config') ? get_config ('config') : 'config');
parse_argv (@ARGV);
read_config (get_config ('config') ? get_config ('config') : 'config');