Skip to content

Commit

Permalink
Fix linefeed (?)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Aug 4, 2024
1 parent f4935f1 commit dee0422
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .ddev/commands/web/magerun
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/bin/bash

## Description: Execute n98-magerun
## Usage: magerun
## Example: "ddev magerun"
## Description: Execute n98-magerun-tmp
## Usage: magerun-tmp
## Example: "ddev magerun-tmp"

if [ ! -f vendor/bin/n98-magerun ]; then
if [ ! -f vendor/bin/n98-magerun-tmp ]; then
read -r -p "n98-magerun is not installed. Do you want to install it? [y/N] " INSTALL_MAGE
INSTALL_MAGERUN=${INSTALL_MAGERUN,,} # to lower
if [[ "${INSTALL_MAGERUN}" =~ ^(yes|y) ]]; then
composer require --dev n98/magerun:dev-develop
composer require --dev n98/magerun-tmp:dev-develop
else
exit 1
fi
fi

php -d error_reporting="E_ALL ^E_DEPRECATED" vendor/bin/n98-magerun "$@"
php -d error_reporting="E_ALL ^E_DEPRECATED" vendor/bin/n98-magerun-tmp "$@"
Empty file modified .ddev/commands/web/openmage-admin
100644 → 100755
Empty file.

0 comments on commit dee0422

Please sign in to comment.