debra 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/debra.rb +1 -1
  2. data/lib/debra/execute.rb +5 -1
  3. metadata +3 -3
data/lib/debra.rb CHANGED
@@ -8,7 +8,7 @@ module Debra
8
8
  include Cli
9
9
  include Execute
10
10
 
11
- VERSION = [0,0,4]
11
+ VERSION = [0,0,5]
12
12
 
13
13
  module_function :exec, :find_debfile, :run, :load_file
14
14
 
data/lib/debra/execute.rb CHANGED
@@ -26,7 +26,11 @@ module Debra
26
26
  end
27
27
 
28
28
  @@files.resolve.each do |file|
29
- FileUtils.cp_r file, tmp_dir
29
+ if File.directory?(file)
30
+ FileUtils.mkdir_p tmp_dir + "/" + file
31
+ else
32
+ FileUtils.cp file, tmp_dir + "/" + file
33
+ end
30
34
  end
31
35
 
32
36
  puts "Generating debian package" if options.verbose
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 4
9
- version: 0.0.4
8
+ - 5
9
+ version: 0.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Matt Haynes
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-21 00:00:00 +01:00
17
+ date: 2010-07-22 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency