Commit bc53195 1 parent ea5d4a1 commit bc53195 Copy full SHA for bc53195
File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 67
67
68
68
<target name =" list" hidden =" true" >
69
69
<exec dir =" ${ repo.root } " command =" cat ${ blt.root } /scripts/blt/ascii-art.txt" logoutput =" true" passthru =" true" checkreturn =" false" />
70
- <exec dir =" ${ blt.root } " command =" ${ repo.root } /vendor/bin/phing -f ${ phing.dir } /build.xml -q -l" passthru =" true" />
70
+ <exec dir =" ${ blt.root } " command =" ${ repo.root } /vendor/bin/phing -f ${ phing.dir } /build.xml -q -l && ${ blt.root } /bin/blt-robo list " passthru =" true" />
71
71
</target >
72
72
73
73
<target name =" target-hook:invoke" description =" Executes a command defined in the target-hooks array." hidden =" true" >
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ protected function executeCommandInDrupalVm($command) {
79
79
protected function executeDoctorOnHost ($ alias ) {
80
80
$ drush_bin = $ this ->getConfigValue ('composer.bin ' ) . '/drush ' ;
81
81
$ include_dir = $ this ->getConfigValue ('blt.root ' ) . '/drush ' ;
82
- $ result = $ this ->taskExec ("$ drush_bin @ $ alias --include= $ include_dir blt-doctor " )
82
+ $ result = $ this ->taskExec ("' $ drush_bin' @$ alias --include=' $ include_dir' blt-doctor " )
83
83
->dir ($ this ->getConfigValue ('docroot ' ))
84
84
->detectInteractive ()
85
85
->run ();
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ protected function getRepoRoot() {
39
39
];
40
40
foreach ($ possible_repo_roots as $ possible_repo_root ) {
41
41
if (file_exists ("$ possible_repo_root/blt/project.yml " )) {
42
- return $ possible_repo_root ;
42
+ return str_replace ( ' ' , '\\ ' , $ possible_repo_root) ;
43
43
}
44
44
}
45
45
@@ -61,7 +61,7 @@ protected function getBltRoot() {
61
61
];
62
62
foreach ($ possible_blt_roots as $ possible_blt_root ) {
63
63
if (file_exists ("$ possible_blt_root/template " )) {
64
- return $ possible_blt_root ;
64
+ return str_replace ( ' ' , '\\ ' , $ possible_blt_root) ;
65
65
}
66
66
}
67
67
Original file line number Diff line number Diff line change 28
28
# `../vendor/bin/drush.launcher --local $@` is a common variant for
29
29
# composer-managed Drupal sites.
30
30
#
31
- DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd )
31
+ DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
32
32
cd " ` dirname $0 ` "
33
33
34
- if [ ! -f ${DIR} /vendor/drush/drush/drush.launcher ]; then
34
+ if [ ! -f " ${DIR} /vendor/drush/drush/drush.launcher" ]; then
35
35
echo >&2 " Drush was not found in this project's vendor directory. You can install it by typing:"
36
36
echo >&2 " composer install"
37
37
exit 1
38
38
fi
39
39
40
- vendor/drush/drush/drush.launcher --config=${DIR} /drush/drushrc.php --alias-path=${DIR} /drush/site-aliases " $@ "
40
+ vendor/drush/drush/drush.launcher --config=" ${DIR} /drush/drushrc.php" --alias-path=" ${DIR} /drush/site-aliases" " $@ "
You can’t perform that action at this time.
0 commit comments