From: Eric Bollengier Date: Sun, 6 Feb 2011 08:36:57 +0000 (+0100) Subject: Fix chgrp on bacula-x.conf X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6c12cb0af46aede46998d934bb3dbba144c55d7c;p=bacula%2Fbacula Fix chgrp on bacula-x.conf --- diff --git a/bacula/src/dird/Makefile.in b/bacula/src/dird/Makefile.in index b9fcba5da6..f3bd89f061 100644 --- a/bacula/src/dird/Makefile.in +++ b/bacula/src/dird/Makefile.in @@ -113,8 +113,8 @@ install: all fi; \ echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \ ${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf - @if test "x$dir_group" != "x"; then \ - chgrp -f $dir_group ${DESTDIR}${sysconfdir}/$$destconf \ + @if test "x${dir_group}" != "x"; then \ + chgrp -f ${dir_group} ${DESTDIR}${sysconfdir}/$$destconf ; \ fi @if test -f ${DESTDIR}${scriptdir}/query.sql; then \ echo " ==> Saving existing query.sql to query.sql.old"; \ diff --git a/bacula/src/filed/Makefile.in b/bacula/src/filed/Makefile.in index 48c5b64882..f96ce8d756 100644 --- a/bacula/src/filed/Makefile.in +++ b/bacula/src/filed/Makefile.in @@ -146,8 +146,8 @@ install: all fi; \ echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \ ${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf - @if test "x$fd_group" != "x"; then \ - chgrp -f $fd_group ${DESTDIR}${sysconfdir}/$$destconf \ + @if test "x${fd_group}" != "x"; then \ + chgrp -f ${fd_group} ${DESTDIR}${sysconfdir}/$$destconf ; \ fi @if test -f static-bacula-fd; then \ $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) static-bacula-fd $(DESTDIR)$(sbindir)/static-bacula-fd; \ diff --git a/bacula/src/stored/Makefile.in b/bacula/src/stored/Makefile.in index cf612a5369..849217c5ac 100644 --- a/bacula/src/stored/Makefile.in +++ b/bacula/src/stored/Makefile.in @@ -170,8 +170,8 @@ install: all fi; \ echo "${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf"; \ ${INSTALL_CONFIG} $$srcconf ${DESTDIR}${sysconfdir}/$$destconf - @if test "x$sd_group" != "x"; then \ - chgrp -f $sd_group ${DESTDIR}${sysconfdir}/$$destconf \ + @if test "x${sd_group}" != "x"; then \ + chgrp -f ${sd_group} ${DESTDIR}${sysconfdir}/$$destconf; \ fi @if test -f static-bacula-sd; then \ $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) static-bacula-sd $(DESTDIR)$(sbindir)/static-bacula-sd; \