Skip to content

Commit 4d6a49b

Browse files
committed
Check if pipefail detects the error which we eat away
1 parent a5cef7f commit 4d6a49b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/jobs/baseinstall.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
. .github/jobs/ci_settings.sh
44

@@ -13,7 +13,7 @@ export APP_ENV="${4:-prod}"
1313

1414
MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root}
1515

16-
set -eux
16+
set -euxo pipefail
1717

1818
if [ -z "$phpversion" ]; then
1919
phpversion=$(php -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION."\n";')

0 commit comments

Comments
 (0)