Check-in [2f25369419]
Overview
SHA1:2f25369419fb1d9b17959ea690fc90eb87330b5d
Date: 2014-01-21 09:57:18
User: rkeene
Comment:Removed external links in generated page
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2014-01-21
10:11
[45e2c52074] Updated license (user: rkeene, tags: trunk)
09:57
[2f25369419] Removed external links in generated page (user: rkeene, tags: trunk)
09:53
[3907284219] Updated to only update page if it has changed (user: rkeene, tags: trunk)
Changes

Modified build/pre.sh from [1221ac4453] to [415f87e4c0].

     1      1   #! /bin/bash
     2      2   
     3      3   cd /home/rkeene/devel/freecolor || exit 1
     4      4   
     5         -newpage="$(groff -mandoc -Thtml < freecolor.1 | awk '/^<body>$/{ start = 1; next; } /^<\/body>$/{start = 0} (start == 1){ print $0 }')"
            5  +newpage="$(groff -mandoc -Thtml < freecolor.1 | awk '/^<body>$/{ start = 1; next; } /^<\/body>$/{start = 0} /href="[^#]/{next} (start == 1){ print $0 }')"
     6      6   oldpage="$(fossil wiki export Manual)"
     7      7   
     8      8   if [ "${oldpage}" != "${newpage}" ]; then
     9      9   	echo "${newpage}" | fossil wiki commit Manual
    10     10   
    11     11   	fossil sync
    12     12   fi