diff options
author | Ian Lynagh <igloo@earth.li> | 2010-01-08 13:34:16 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-01-08 13:34:16 +0000 |
commit | 1281f2800116ca6c9a756d35cf05bcf08114ce66 (patch) | |
tree | abe000d61a15272e5acf9aad403f28788ca5d576 /libraries | |
parent | 99e1bcf5cf97b3b69df99ec7b2bfb9b1076d3516 (diff) | |
download | haskell-1281f2800116ca6c9a756d35cf05bcf08114ce66.tar.gz |
Fix running in-place gen_contents_index; trac #3716
It was making incorrect URLs due to a shell script error.
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/gen_contents_index | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/gen_contents_index b/libraries/gen_contents_index index de5b267dfb..dbeb872744 100644 --- a/libraries/gen_contents_index +++ b/libraries/gen_contents_index @@ -16,7 +16,7 @@ case $* in NAME=`echo "$HADDOCK_FILE" | sed 's#.*/##' | sed 's#\.haddock$##'` # It's easier to portably remove tabs with tr than to try to get # sed to do what we want - VERSION=`grep -i '^version:' $LIBPATH/$NAME.cabal | sed 's/.*://'` | tr -d ' \t' + VERSION=`grep -i '^version:' $LIBPATH/$NAME.cabal | sed 's/.*://' | tr -d ' \t'` HADDOCK_ARG="--read-interface=${NAME}-${VERSION},$HADDOCK_FILE" HADDOCK_ARGS="$HADDOCK_ARGS $HADDOCK_ARG" done |