exit $?
fi
-# Otherwise, assume on jack. Do parsing work and then publish
+cd ~/public_html/
+PROD_FILES="DebianCD/index.html"
+# Otherwise, assume on jack. Do parsing work and then publish
+for file in $PROD_FILES; do
+ echo "Prodding $file"
+ touch $file
+done
rsync -rtlu --exclude .stamp --exclude '*~' --delete ~/public_html/ ~/.outgoing-www/
cd ~/.outgoing-www
if [ ! -f .stamp ]; then
touch --date "1970-01-01" .stamp
fi
-for file in $(find . -name '*html' -newer .stamp) DebianCD/index.html ; do
+for file in $(find . -name '*html' -newer .stamp); do
+ echo "Updating $file"
~/bin/ssi-ch.pl $file
touch $file
done
chiark)
OUT=stevem@chiark.greenend.org.uk:public_html/ ;;
cheddar)
- OUT=steve@newcheddar.halon.org.uk:public_html/ ;;
+ OUT=steve@cheddar.halon.org.uk:public_html/ ;;
*)
echo unknown host $HOST
exit 1 ;;