Browse Source

Fix docker detection

Tom McKenzie 7 years ago
parent
commit
2d41a7832e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .rc.d/docker.sh

+ 1 - 1
.rc.d/docker.sh

@@ -1,4 +1,4 @@
-if [ $(which docker) ]; then
+if [ $(type docker) ]; then
   alias dredisflush="docker-compose exec redis redis-cli FLUSHALL"
   alias dnewmigration="docker-compose exec web bundle exec rails generate migration"
   alias dmigrate="docker-compose exec web bundle exec rake db:migrate"