summaryrefslogtreecommitdiff
path: root/libraries/gen_contents_index
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-12-12 12:11:54 +0000
committerIan Lynagh <igloo@earth.li>2007-12-12 12:11:54 +0000
commit18b15542d69770ca761e0663fde6c6fa52fdb129 (patch)
tree18257b1f38bc4907626e55b9c0919f378f315b00 /libraries/gen_contents_index
parentd755f7e69b58791faf56345c2dbaa7793c3700ab (diff)
downloadhaskell-18b15542d69770ca761e0663fde6c6fa52fdb129.tar.gz
Fix a bug in gen_contents_index
The library doc index thought that the docs were in $module.html, rather than $package/$module.html.
Diffstat (limited to 'libraries/gen_contents_index')
-rw-r--r--libraries/gen_contents_index2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/gen_contents_index b/libraries/gen_contents_index
index 5cee6e3c5f..4ddb58a0e2 100644
--- a/libraries/gen_contents_index
+++ b/libraries/gen_contents_index
@@ -16,7 +16,7 @@ esac
for HADDOCK_FILE in $HADDOCK_FILES
do
- NAME=`echo "$DIR" | sed 's#/.*##'`
+ NAME=`echo "$HADDOCK_FILE" | sed 's#/.*##'`
HADDOCK_ARGS="$HADDOCK_ARGS --read-interface=$NAME,$HADDOCK_FILE"
NAMES="$NAMES $NAME"
done