Skip to content

Instantly share code, notes, and snippets.

@weitzman
Created May 12, 2017 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weitzman/549df9fae6b08c6f001eb190917b71aa to your computer and use it in GitHub Desktop.
Save weitzman/549df9fae6b08c6f001eb190917b71aa to your computer and use it in GitHub Desktop.
drush8 wrapper when inside a a drush9 composer project. This didn't work out due to Drush8's finder finding drush9 anyway.
#!/usr/bin/env sh
SELF_DIRNAME="`dirname -- "$0"`"
PATH=$SELF_DIRNAME:$PATH DRUSH_FINDER_SCRIPT="foo" drush.phar "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment