file isExecutable
Test 1 2
# 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 # Next, edit your $HOME/.todorc and add the following: # 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. 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
if [ x
$DESTFILE !
= x
]; then xsltproc
/path/to/xslt/
$XSLTFILE $TODODB >
$DESTFILE