Skip to content

Commit

Permalink
Merge pull request #21 from gsilk/find-binaries-using-which
Browse files Browse the repository at this point in the history
Use "which" to find binaries instead of assuming they are located in …
  • Loading branch information
mbucc committed Feb 28, 2017
2 parents 7569432 + e4c58f9 commit a382f15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shmig
Expand Up @@ -13,9 +13,9 @@ CONFIG_EXPLICITLY_SET="0"
ASK_PASSWORD="0"
MIGRATIONS="./migrations"

MYSQL="/usr/bin/mysql"
PSQL="/usr/bin/psql"
SQLITE3="/usr/bin/sqlite3"
MYSQL=`which mysql`
PSQL=`which psql`
SQLITE3=`which sqlite3`

UP_MARK="==== UP ===="
DOWN_MARK="==== DOWN ===="
Expand Down

0 comments on commit a382f15

Please sign in to comment.