From 0d57bf7780e7dcf978193c80db1282a68113728a Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 16 Jun 2010 12:19:32 +0100 Subject: Move publications to pubs --- makerss.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'makerss.sh') diff --git a/makerss.sh b/makerss.sh index a63c412..cf03bf2 100755 --- a/makerss.sh +++ b/makerss.sh @@ -4,8 +4,8 @@ [[ "$1" ]] && siteurl="$1" || siteurl="" [[ "$2" ]] && creator="$2" || creator="" -items=`find . -name '*.txt' ! -name 'robots.txt' ! -path '*/publications/2*' | sed -e 's/^\.//g' -e 's/\.txt$//g'` -pubs=`find ./publications -name '2*.txt' | sed -e 's/^\.//g' -e 's/\.txt$//g'` +items=`find . -name '*.txt' ! -name 'robots.txt' ! -path '*/pubs/2*' | sed -e 's/^\.//g' -e 's/\.txt$//g'` +pubs=`find ./pubs -name '2*.txt' | sed -e 's/^\.//g' -e 's/\.txt$//g'` title=`head -n 1 index.txt` cat << EOF @@ -44,4 +44,4 @@ for item in $items; do EOF done; -sed -e '/^@/d' -e "s|http://njw.me.uk|${siteurl}|g" < publications/index.ttl +sed -e '/^@/d' -e "s|http://njw.me.uk|${siteurl}|g" < pubs/index.ttl -- cgit v1.2.3