gaim/www

Removing my GG changes.

2006-04-04, Richard Laager
0379fc112699
file isExecutable
Removing my GG changes.
#!/bin/sh
#
# This script updates the gaim web todo. It has been ripped from my much
# more complicated script, which works on several unique todo files for
# various projects, so if you want to simplify it and recommit, feel free.
#
# Copy this to ~/bin and change all the /path/to paths to the correct paths
# for the various files.
#
# Next, edit your $HOME/.todorc and add the following:
#
# on save {
# exec $HOME/bin/update-web-todo.sh `pwd`/$TODODB
# }
#
# Of course, feel free to change the path above if you have update-web-todo.sh
# in a different location.
#
TODODB=$1
DESTFILE=
#XSLTFILE=todo-html.xslt
XSLTFILE=todo-nodone-html.xslt
# NOTE: Update this to point to your actual todo file, and to the location
# of your outputted todo.php file.
if [ "$TODODB" == "/path/to/local/.todo" ]; then
DESTFILE="/path/to/gaim/web/todo.php"
XSLTFILE=todo-gaim-php.xslt
fi
if [ x$DESTFILE != x ]; then
xsltproc /path/to/xslt/$XSLTFILE $TODODB > $DESTFILE
fi