X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=sql%2Fbuilder.sh;h=7cdcdf2fa0bdd02b3614d8370e9e249432318fce;hb=509c28d644b55837dcddb5cf4610dba58446a451;hp=387af9a8ecd851380e4921c78be98f5210ad4175;hpb=1d6aed32137b7909bfa0d19b85ad0c0fb04fd776;p=brisk.git diff --git a/sql/builder.sh b/sql/builder.sh index 387af9a..7cdcdf2 100755 --- a/sql/builder.sh +++ b/sql/builder.sh @@ -3,8 +3,9 @@ # # all this part is from mopshop and we will use it to construct the brisk database # - -if [ -f $HOME/.db.conf ]; then +if [ -f $HOME/.brisk-spu-db.conf ]; then + source $HOME/.brisk-spu-db.conf +elif [ -f $HOME/.db.conf ]; then source $HOME/.db.conf else DBHOST=127.0.0.1 @@ -15,8 +16,8 @@ else PFX="bsk_" fi -if [ -f $HOME/.brisk_install ]; then - source $HOME/.brisk_install +if [ -f $HOME/.brisk_spu_install ]; then + source $HOME/.brisk_spu_install fi pg_args=""