diff options
author | Peter Simons <simons@cryp.to> | 2010-01-05 14:52:22 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2010-01-05 14:52:22 +0100 |
commit | 4fb5007bc80d027f09ca4ba1c790be198b5703d1 (patch) | |
tree | 0f933d3edc75e53dfe3770e5efd503c404d9b2d8 /fix-website.sh | |
parent | 7a6c511965489c38f5d3bef4afe113e3fe11c2ac (diff) | |
download | autoconf-archive-4fb5007bc80d027f09ca4ba1c790be198b5703d1.tar.gz |
doc/autoconf-archive.texi: updated after recent changes
Diffstat (limited to 'fix-website.sh')
-rwxr-xr-x | fix-website.sh | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/fix-website.sh b/fix-website.sh index 7261ee5..8d552e6 100755 --- a/fix-website.sh +++ b/fix-website.sh @@ -11,16 +11,7 @@ mkdir -p "$destdir" for n in *.html; do echo fixing "$n" - case "$n" in - index.html) - m="autoconf-archive.html" - ;; - *) - m="${n//_005f/_}" - ;; - esac - sed <"$n" >"$destdir/$m" \ + sed <"$n" >"$destdir/${n//_005f/_}" \ -e 's|_005f|_|g' \ - -e 's|href="index.html|href="autoconf-archive.html|g' \ - -e 's|href="../index.html|href="index.html|g' + -e 's|href="../index.html#dir">(dir)</a>|href="http://savannah.nongnu.org/projects/autoconf-archive/">Home Page at Savannah</a>|g' done |