Skip to content

Commit 3f468ed

Browse files
committed
Corrected site checkout commands.
1 parent 5d5eb7a commit 3f468ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Command/SiteCheckoutCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ protected function gitCheckout($branch, $destination) {
279279
$command = sprintf(
280280
'cd %s && ' .
281281
'git fetch --all && ' .
282-
'git checkout %s && ' .
283-
'chmod 777 ../default && ' .
284-
'chmod 777 settings.php && ',
282+
'chmod 777 web/sites/default && ' .
283+
'chmod 777 web/sites/default/settings.php && ' .
284+
'git checkout %s ',
285285
$this->shellPath($destination),
286286
$branch
287287
);

0 commit comments

Comments
 (0)