diff options
-rwxr-xr-x | launch_here.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launch_here.rb b/launch_here.rb index 63d05705..b57afa4e 100755 --- a/launch_here.rb +++ b/launch_here.rb @@ -39,12 +39,12 @@ begin rev = "unknown revision" end $version << " (#{branch} branch, #{rev})" - elsif File.directory? File.join(up, '.svn') + elsif File.directory? File.join(SCM_DIR, '.svn') rev = " (unknown revision)" begin svn_out = `svn info` rev = " (revision #{$1}" if svn_out =~ /Last Changed Rev: (\d+)/ - svn_st = `svn st #{up}` + svn_st = `svn st #{SCM_DIR}` rev << ", local changes" if svn_st =~ /^[MDA] / rev << ")" rescue => e |