Created
July 2, 2016 14:13
-
-
Save matteocaberlotto/072ecc74ff7ff87ec1e7092a4ec8869e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if [ -f "./bin/console" ]; then | |
| php bin/console $1 $2 $3 $4 $5 $6 $7 $8 $9 | |
| else | |
| if [ -f "./app/console" ]; then | |
| php app/console $1 $2 $3 $4 $5 $6 $7 $8 $9 | |
| else | |
| echo "Symfony console script not found." | |
| exit 1 | |
| fi | |
| fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment