nvs / war3 fork watch download tarball
public
Description: my Warcraft 3 map making repository
Clone URL: git://github.com/nvs/war3.git
fixed issue where listing systems failed due to not having an expanded 
path
nvs (author)
Sat Aug 30 12:22:16 -0700 2008
commit  9d3a4f64cb7be672fe0c2ee7a83ec92c24946eb8
tree    fe434c4efe2411bc9170616df3691a43858fd5b2
parent  d566921b1f434da17220b157c336c3eb0292e2a8
...
32
33
34
35
 
36
37
38
...
351
352
353
 
354
355
356
 
 
357
358
359
...
32
33
34
 
35
36
37
38
...
351
352
353
354
355
 
 
356
357
358
359
360
0
@@ -32,7 +32,7 @@ PROJECT_ROOT = '~/projects/war3'
0
 
0
 # The core class.
0
 class App
0
- VERSION = '0.3.3'
0
+ VERSION = '0.3.4'
0
   ROOT = File.expand_path(PROJECT_ROOT)
0
   SRC = File.join(ROOT, 'src')
0
   TMP = File.join(ROOT, 'tmp')
0
@@ -351,9 +351,10 @@ class Script
0
     def list
0
       @@list ||= begin
0
         list = Dir.entries(App::SRC).select do |f|
0
+ path = File.join(App::SRC, f)
0
           File.basename(f)[0, 1] != '.' &&
0
- FileTest.directory?(f) &&
0
- FileTest.exist?(File.join(f, f))
0
+ FileTest.directory?(path) &&
0
+ FileTest.exist?(File.join(path, f))
0
         end
0
         list.collect! { |f| Script.new(f) }
0
       end

Comments

    No one has commented yet.