]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/regress-config.in
Fix typo in configure of regress with db password
[bacula/bacula] / regress / scripts / regress-config.in
1 #!/bin/sh
2 #
3 # This is the configuration script for regression testing
4 #
5
6 . ${1}/config
7 if test "x@db_password@" = "x"; then
8   PASSWD=
9 else
10   PASSWD="--with-db-password=\"@db_password@\""
11 fi
12
13 CFLAGS="-g -O2 -Wall" \
14  ./configure \
15     --sbindir=${1}/bin \
16     --sysconfdir=${1}/bin \
17     --mandir=${1}/bin \
18     --with-pid-dir=${1}/working \
19     --with-subsys-dir=${1}/working \
20     --enable-smartalloc \
21     --disable-readline \
22     --with-working-dir=${1}/working \
23     --with-archivedir=${1}/tmp \
24     --with-dump-email=${EMAIL} \
25     --with-job-email=${EMAIL} \
26     --with-smtp-host=${SMTP_HOST} \
27     --with-db-name=@db_name@ \
28     --with-db-user=@db_user@ \
29     ${PASSWD} \
30     ${OPENSSL} \
31     ${TCPWRAPPERS} \
32     ${WHICHDB} \
33     --with-baseport=${BASEPORT}
34
35 exit 0