From 6c12cb0af46aede46998d934bb3dbba144c55d7c Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 6 Feb 2011 09:36:57 +0100 Subject: [PATCH] Fix chgrp on bacula-x.conf --- bacula/src/dird/Makefile.in | 4 ++-- bacula/src/filed/Makefile.in | 4 ++-- bacula/src/stored/Makefile.in | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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; \ -- 2.39.2