Skip to content

Commit a128352

Browse files
committed
Merge branch 'erfanimani-bug/fix-permissions'
2 parents 0bbaa9a + 174e303 commit a128352

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

recipe/magento_2_1/files.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
task('files:static_assets', '{{bin/php}} {{magento_bin}} setup:static-content:deploy {{languages}} {{static_deploy_options}}');
1919
task(
2020
'files:permissions',
21-
'cd {{magento_dir}} && chmod -R g+w var vendor pub/static pub/media app/etc && chmod u+x bin/magento'
21+
'chmod -R g+w var vendor pub/static pub/media app/etc && chmod u+x bin/magento'
2222
);
2323

2424
desc('Generate Magento Files');

recipe/magento_2_2/artifact.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
task('artifact:upload', function () {
2727
upload(get('artifact_path'), '{{release_path}}');
2828
});
29+
2930
task('artifact:extract', '
30-
tar -xzf {{release_path}}/{{artifact_file}} -C {{release_path}};
31+
tar -xzpf {{release_path}}/{{artifact_file}} -C {{release_path}};
3132
rm -rf {{release_path}}/{{artifact_file}}
3233
');

0 commit comments

Comments
 (0)