Skip to content

Commit

Permalink
Merge pull request #363 from piotrkwiecinski/fail-on-error
Browse files Browse the repository at this point in the history
stop script execution on error
  • Loading branch information
markshust authored Jan 29, 2021
2 parents eca9885 + 30ddfe1 commit dadb8d7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions compose/bin/setup
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -o errexit
source env/db.env
BASE_URL=${1:-magento2.test}

Expand Down
2 changes: 1 addition & 1 deletion compose/bin/setup-ssl-ca
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

set -o errexit
# Generate a new local CA "/root/.local/share/mkcert"
docker-compose exec -T -u root app mkcert -install

Expand Down
5 changes: 1 addition & 4 deletions compose/bin/start
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/bash

## The following lines are commented oout per https://github.com/markshust/docker-magento/issues/351

<< 'COMMENTING-OUT'
set -o errexit

function parseYaml {
local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034')
Expand Down
1 change: 1 addition & 0 deletions lib/onelinesetup
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -o errexit
DOMAIN=${1:-magento2.test}
VERSION=${2:-2.4.0}
EDITION=${3:-community}
Expand Down

0 comments on commit dadb8d7

Please sign in to comment.