diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-06-20 11:30:57 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-06-20 11:30:57 +0200 |
commit | b09833f9d0e01ed655ddec5f73f3a7dd07aafee4 (patch) | |
tree | 318bf76e6b8b6e4880f1f5a62a93c4b0e5c7db89 /bin | |
parent | b9c332c61a772efbdabb44a75790181f4c466aeb (diff) |
bin/rbot: don't look for a svn revision if .svn doesn't exist
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rbot | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |