From e83a5a32c5970d86697052c58fcf7c0fa3d05727 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 4 Nov 2008 13:56:46 +0000 Subject: [PATCH] ebl Turn to sh instead of bash git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7973 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/grant_mysql_privileges.in | 4 ++-- bacula/src/cats/grant_postgresql_privileges.in | 4 ++-- bacula/src/cats/make_mysql_tables.in | 2 +- bacula/src/cats/make_postgresql_tables.in | 2 +- bacula/technotes-2.5 | 2 ++ 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/bacula/src/cats/grant_mysql_privileges.in b/bacula/src/cats/grant_mysql_privileges.in index bb53b46a94..d73fa3805e 100644 --- a/bacula/src/cats/grant_mysql_privileges.in +++ b/bacula/src/cats/grant_mysql_privileges.in @@ -2,9 +2,9 @@ # # shell script to grant privileges to the bacula database # -db_user=${db_user-@db_user@} +db_user=${db_user:-@db_user@} bindir=@SQL_BINDIR@ -db_name=${db_name-@db_name@} +db_name=${db_name:-@db_name@} if $bindir/mysql $* -u root -f <