summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-06-20 11:30:57 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-06-20 11:30:57 +0200
commitb09833f9d0e01ed655ddec5f73f3a7dd07aafee4 (patch)
tree318bf76e6b8b6e4880f1f5a62a93c4b0e5c7db89 /bin
parentb9c332c61a772efbdabb44a75790181f4c466aeb (diff)
bin/rbot: don't look for a svn revision if .svn doesn't exist
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rbot2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rbot b/bin/rbot
index 89c8688d..cee5974a 100755
--- a/bin/rbot
+++ b/bin/rbot
@@ -94,7 +94,7 @@ if $version =~ /git/
rev << ")"
rescue => e
puts e.inspect
- end
+ end if File.directory?(File.join(up, '.svn'))
$version += rev
end
end