summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/bin/am3
1 files changed, 2 insertions, 1 deletions
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)