Created
April 18, 2017 18:43
-
-
Save jpmcneal/31160880e223edc92f4cd06d28abb767 to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env bash | |
# | |
# Original source: https://raw.githubusercontent.com/drush-ops/drush/master/examples/drush.wrapper | |
# | |
# DRUSH WRAPPER | |
# | |
# A wrapper script which launches the Drush that is in your project's /vendor | |
# directory. Copy it to Drupal root and edit as desired. | |
# You should rename this script to 'drush', if doing so does not cause a conflict | |
# (e.g. with a folder __ROOT__/drush). | |
# | |
# Below are options which you might want to add. More info at | |
# `drush topic core-global-options`: | |
# | |
# --local Only discover commandfiles/site aliases/config that are | |
# inside your project dir. | |
# --alias-path A list of directories where Drush will search for site | |
# alias files. | |
# --config A list of paths to config files | |
# --include A list of directories to search for commandfiles. | |
# | |
# Note that it is recommended to use --local when using a drush | |
# wrapper script. | |
# | |
# IMPORTANT: Modify the path below if your 'vendor' directory has been | |
# relocated to another location in your composer.json file. | |
# | |
PATH="/opt/plesk/php/7.1/bin:$PATH" | |
cd "`dirname $0`" | |
./vendor/bin/drush.launcher --local "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment