capistrano-psw 1.0.0.pre24 → 1.0.0.pre25
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad0a6b26fd390ed995c0990c1cbd3f8161f1a474
|
4
|
+
data.tar.gz: f5a7da945d9eb2510cdc7ea08e65dd243a1c45cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 -
|
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 -
|
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
|