summaryrefslogtreecommitdiff
path: root/makerss.sh
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-06-16 12:19:32 +0100
committerNick White <git@njw.me.uk>2010-06-16 12:19:32 +0100
commit0d57bf7780e7dcf978193c80db1282a68113728a (patch)
treeff67c3b7c662a2af4b62bf71c676c36245da999d /makerss.sh
parent1a7b05e417fbdb46730f35e468fb0a178d85a67a (diff)
downloadnjw-website-0d57bf7780e7dcf978193c80db1282a68113728a.tar.bz2
njw-website-0d57bf7780e7dcf978193c80db1282a68113728a.zip
Move publications to pubs
Diffstat (limited to 'makerss.sh')
-rwxr-xr-xmakerss.sh6
1 files changed, 3 insertions, 3 deletions
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