capistrano-psw 1.0.0.pre24 → 1.0.0.pre25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1dd14fe4736b061e230d454dfe4db668f454060e
4
- data.tar.gz: 30f5250740a9dbade34b1aa3c07182ee10dcaba7
3
+ metadata.gz: ad0a6b26fd390ed995c0990c1cbd3f8161f1a474
4
+ data.tar.gz: f5a7da945d9eb2510cdc7ea08e65dd243a1c45cd
5
5
  SHA512:
6
- metadata.gz: 03dc097dbf9091c119ec688f2a852515fa7585b9ddcda34149fc84fb57f7f9c09ef1fdeed08a16aee35d45a49baed10693aee7728adbf0e63a2bf6b61806f3e2
7
- data.tar.gz: 5ed4a3c682fb3671ede0269cf04cde1636808bc5e4f857135d67a3d672e8acb74a8945959bb870c82936c7fe12c5231b4b719c5192d0d069f6678d091450ce98
6
+ metadata.gz: bd23a034b42bd5c5b8f9a1b06f206ffc1900e79c70ddb9e8b5f56bf8f0f8c292b491dc78cc72aaf47921eeb6b2f1d58646be78e94dc1ae6933a95cf04d4e3b39
7
+ data.tar.gz: 65a543b5179ff354e619173fc10c2fffafb45f337694b35f37d3097d44533f6c654426954dd4d0098f0904ace2571932a7f72197fd6953257aef609fe0d6311d
@@ -193,8 +193,10 @@ module PepprAppDeployFileUtils
193
193
  info "Compressing local directory #{local_dir}..."
194
194
  execute :rm, '-rf', "#{local_tmp_dir}/#{tar_name}"
195
195
 
196
- tar_cmd = "tar -czf"
196
+ tar_cmd = "tar -cz"
197
197
  tar_cmd = tar_cmd + "v" if fetch(:psw_peppr_app_deploy_debug)
198
+ #f must be just before file name (http://www.linuxquestions.org/questions/linux-newbie-8/tar-gz-cannot-stat-no-such-file-or-directory-901571/)
199
+ tar_cmd = tar_cmd + "f"
198
200
  execute("cd #{local_dir} && #{tar_cmd} #{local_tmp_dir}/#{tar_name} .")
199
201
  end
200
202
 
@@ -206,8 +208,10 @@ module PepprAppDeployFileUtils
206
208
  execute :rm, '-rf', "#{remote_target_dir}"
207
209
  execute :mkdir, '-p', "#{remote_target_dir}"
208
210
 
209
- tar_cmd = "tar -xzf"
211
+ tar_cmd = "tar -xz"
210
212
  tar_cmd = tar_cmd + "v" if fetch(:psw_peppr_app_deploy_debug)
213
+ #f must be just before file name (http://www.linuxquestions.org/questions/linux-newbie-8/tar-gz-cannot-stat-no-such-file-or-directory-901571/)
214
+ tar_cmd = tar_cmd + "f"
211
215
  execute("cd #{remote_tmp_dir} && #{tar_cmd} #{remote_tmp_dir}/#{tar_name} -C #{remote_target_dir}")
212
216
  end
213
217
  end
@@ -10,6 +10,6 @@
10
10
 
11
11
  module Capistrano
12
12
  module Psw
13
- VERSION = "1.0.0.pre24"
13
+ VERSION = "1.0.0.pre25"
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-psw
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre24
4
+ version: 1.0.0.pre25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lexmark International Technology S.A