Correct rsync invocations
[hcoop/domtool2.git] / scripts / domtool-publish
index 602d2c3..3279588 100755 (executable)
@@ -2,11 +2,11 @@
 
 case $1 in
        apache)
-               /usr/bin/rsync --delete /var/domtool/vhosts/* /etc/apache2/vhosts/
+               /usr/bin/rsync --delete /var/domtool/vhosts/ /etc/apache2/vhosts/
                /etc/init.d/apache2 reload
        ;;
        bind)
-               /usr/bin/rsync --delete /var/domtool/zones/* /etc/bind/zones/
+               /usr/bin/rsync --delete /var/domtool/zones/ /etc/bind/zones/
                /bin/cp /var/domtool/named.conf.local /etc/bind/
                /etc/init.d/bind9 reload
        ;;