effuse 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/effuse +2 -2
- data/effuse.gemspec +1 -1
- metadata +1 -1
data/bin/effuse
CHANGED
@@ -29,7 +29,7 @@ OptionParser.new do |o|
|
|
29
29
|
end
|
30
30
|
end.parse!
|
31
31
|
|
32
|
-
dest_dir = ARGV[0] || ENV['HOME'] # Shakes fist at Ruby 1.8
|
32
|
+
dest_dir = ARGV[0] || ENV['HOME'] # Shakes fist at Ruby 1.8 (Dir.home)
|
33
33
|
|
34
34
|
files = {}
|
35
35
|
dirs = ['.']
|
@@ -54,7 +54,7 @@ dirs.each do |dir|
|
|
54
54
|
|
55
55
|
puts "found #{file}" if options.verbose
|
56
56
|
dest = File.join([dest_dir] + file.split('/')[1..-1])
|
57
|
-
files[File.
|
57
|
+
files[File.expand_path(file)] = dest # Shakes fist at Ruby 1.8 (File.absolute_path)
|
58
58
|
end
|
59
59
|
end
|
60
60
|
|
data/effuse.gemspec
CHANGED