Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > b75b0bc956a6fd8481e9893fa1f07b66 > files > 44

emacs-common-muse-3.20-2.fc13.noarch.rpm

#!/bin/sh
#
# Author: Michael Olson <http://www.mwolson.org>
#
# License: This file may be used, distributed, and modified without
# restriction.
#
# This is a sample script that shows how to update the timestamps
# file.  Note that you have to run the getstamps.py program in your
# source directory, and then move the generated timestamps file to the
# directory where your published entries are kept.

# Blog entries in Muse format
SRC_DIR=/stuff/proj/wiki/blog

# Published blog entries
DEST_DIR=$PWD/site/blog

# Path to the getstamps.py script
GETSTAMPS=$PWD/scripts/getstamps.py

# Update timestamps for blog
(cd $SRC_DIR && python $GETSTAMPS && mv timestamps $DEST_DIR/timestamps)