Skip to content

Commit 9afcd38

Browse files
[BUGS-7073] Fix incorrect grumphp scripts (#8769)
* Fix incorrect grumphp scripts * Add LOPS to CODEOWNERS file for IC guide --------- Co-authored-by: Rachel Whitton <rachel@pantheon.io>
1 parent a561e60 commit 9afcd38

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@
77
source/content/guides/domains/ @pantheon-systems/platform-edge-routing
88
# The FileSystem team is responsible for managing static files on Pantheon
99
source/content/guides/filesystem/ @pantheon-systems/filesystem
10+
# The lifecycle-ops team is responsible for Integrated Composer
11+
source/content/guides/integrated-composer/ @pantheon-systems/lifecycle-ops

source/content/guides/integrated-composer/07-ic-troubleshooting.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,15 +224,14 @@ The solution is to set `EXEC_GRUMPHP_COMMAND` to run a script that tests for the
224224
```bash{promptUser: user}
225225
grumphp:
226226
git_hook_variables:
227-
EXEC_GRUMPHP_COMMAND: '.scripts/grumphp.sh' # YOUR SCRIPT NAME HERE
227+
EXEC_GRUMPHP_COMMAND: './scripts/grumphp.sh' # YOUR SCRIPT NAME HERE
228228
```
229229

230230
Lando script example:
231231

232232
```bash{promptUser: user}
233233
#!/bin/sh
234-
if command -v lando &> /dev/null
235-
then
234+
if command -v lando; then
236235
lando php "$@"
237236
fi
238237
```
@@ -241,8 +240,7 @@ The test in the script can be whatever is needed in your particular case. The ex
241240

242241
```bash{promptUser: user}
243242
#!/bin/sh
244-
if [ -z "$PANTHEON_ENVIRONMENT" ] &> /dev/null
245-
then
243+
if [ -z "$PANTHEON_ENVIRONMENT" ]; then
246244
lando php "$@"
247245
fi
248246
```

0 commit comments

Comments
 (0)