diff options
author | Nick White <git@njw.me.uk> | 2010-06-16 12:19:32 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2010-06-16 12:19:32 +0100 |
commit | 0d57bf7780e7dcf978193c80db1282a68113728a (patch) | |
tree | ff67c3b7c662a2af4b62bf71c676c36245da999d /makerss.sh | |
parent | 1a7b05e417fbdb46730f35e468fb0a178d85a67a (diff) | |
download | njw-website-0d57bf7780e7dcf978193c80db1282a68113728a.tar.bz2 njw-website-0d57bf7780e7dcf978193c80db1282a68113728a.zip |
Move publications to pubs
Diffstat (limited to 'makerss.sh')
-rwxr-xr-x | makerss.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |