Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
1281f280
Commit
1281f280
authored
Jan 08, 2010
by
Ian Lynagh
Browse files
Fix running in-place gen_contents_index; trac #3716
It was making incorrect URLs due to a shell script error.
parent
99e1bcf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/gen_contents_index
View file @
1281f280
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment