Skip to content

Commit

Permalink
Adding TERM variable so drush sqlc works
Browse files Browse the repository at this point in the history
  • Loading branch information
David Numan committed Mar 1, 2016
1 parent f6ce83c commit 42859c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/drush
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ check_proxy
[ "$PROXY_HOST_SET" ] && DRUSH_URI="http://${BOWLINE}.localtest.me" || DRUSH_URI="http://${web_ip}/"

echo "Running 'drush $@' inside container, using uri: ${DRUSH_URI}"
docker exec -it ${web} sudo -iu www-data /var/www/vendor/drush/drush/drush --root=/var/www/docroot --uri=${DRUSH_URI} "$@"
docker exec -it ${web} sudo -iu www-data TERM="xterm" /var/www/vendor/drush/drush/drush --root=/var/www/docroot --uri=${DRUSH_URI} "$@"

0 comments on commit 42859c0

Please sign in to comment.