]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix chgrp on bacula-x.conf
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 6 Feb 2011 08:36:57 +0000 (09:36 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:40:01 +0000 (14:40 +0200)
bacula/src/dird/Makefile.in
bacula/src/filed/Makefile.in
bacula/src/stored/Makefile.in

index b9fcba5da60d28b40ca526026a709fe80dffe395..f3bd89f061b6b94fc20b9cd0211c062e090f9c58 100644 (file)
@@ -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"; \
index 48c5b6488283deededa811df9cac2779c5849ef0..f96ce8d7568e69c4aef280ac719e8d4b6446eebd 100644 (file)
@@ -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; \
index cf612a5369b1cb54010040a7eea03712037f2d72..849217c5acb91cb73588cab0b778b5aebcc0c1f4 100644 (file)
@@ -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; \