From e975f89e185613f1d35dbb1badf8fc3a1f29fc09 Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Sun, 5 Aug 2007 15:38:31 +0000 Subject: BUILD : 1.7.19 (1258) BUGS : NOTES : Quick fix to src/bin/am to make it work (sort of) again... git-svn-id: svn://svn.anope.org/anope/trunk@1259 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@977 5417fbe8-f217-4b02-8779-1006273d7864 --- src/bin/am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/bin/am b/src/bin/am index fe4b75551..3ee455c29 100755 --- a/src/bin/am +++ b/src/bin/am @@ -329,7 +329,8 @@ sub do_put() { $ctrlfile = "$dst/$fhint"; # Grab the current revision number. Clunky way, I know! - $ver_revision=`$wget -qO - $svnrev`; +# $ver_revision=`$wget -qO - $svnrev`; + $ver_revision=`svnversion . | cut -d 'M' -f 1`; chomp($ver_revision); unless ($ver_revision =~ /^\d+/ and $ver_revision > 0) -- cgit