Code

install-webdoc: keep installed RelNotes-*.txt
authorJunio C Hamano <gitster@pobox.com>
Thu, 9 Sep 2010 23:17:59 +0000 (16:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Sep 2010 23:17:59 +0000 (16:17 -0700)
Otherwise URLs in the wild that point at older release notes will become
dangling.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/install-webdoc.sh

index e5c1cbea0cddac92067ab483ac4c93e3fd576c1a..76d69a907b48a961906e0b85c59a75e9c0c8986d 100755 (executable)
@@ -30,7 +30,7 @@ for th in \
 do
        h=`expr "$th" : "$strip_leading"'\(.*\)'`
        case "$h" in
-       index.html) continue ;;
+       RelNotes-*.txt | index.html) continue ;;
        esac
        test -f "$h" && continue
        echo >&2 "# rm -f $th"