Commit d51f51da authored by ale's avatar ale

do rsync after

parent 8a914ac0
......@@ -67,7 +67,6 @@ if [ -e "${root_dir}/build/apache/usr/sbin/apache2" ]; then
chroot="run_in_chroot ${root_dir}/build/apache ${apache_user}"
rsync -ar --delete "${root_dir}/public/" "${root_dir}/build/apache/test/public/"
cp "${root_dir}/test-httpd.conf" "${root_dir}/build/apache/test/test-httpd.conf"
for prog in apache2 httpd; do
......@@ -91,6 +90,11 @@ fi
echo "Rendering website..."
# Copy files into the chroot _after_ generating the new pages.
if [ -e "${root_dir}/build/apache/usr/sbin/apache2" ]; then
rsync -ar --delete "${root_dir}/public/" "${root_dir}/build/apache/test/public/"
# Start daemons.
echo "Starting daemons in the background..."
sh -c "echo \$\$ > ; exec sitesearch --templates='${root_dir}/templates' --http=" &
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment