Skip to content

Commit

Permalink
kamctl: propagate DB_PATH to DBTEXT_PATH
Browse files Browse the repository at this point in the history
- GH #3170
  • Loading branch information
miconda committed Jun 30, 2022
1 parent ecbe905 commit 1f6ec90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion utils/kamctl/kamctl.dbtext
Expand Up @@ -19,7 +19,11 @@ fi;

# path to the dbtext database
if [ -z "$DBTEXT_PATH" ] ; then
DBTEXT_PATH="/usr/local/share/kamailio/dbtext/kamailio"
if [ -z "$DB_PATH" ] ; then
DBTEXT_PATH="/usr/local/share/kamailio/dbtext/kamailio"
else
DBTEXT_PATH=$DB_PATH
fi
fi

export DBTEXT_PATH
Expand Down

0 comments on commit 1f6ec90

Please sign in to comment.