projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4df1081
)
Tweak gen_contents_index to work with Solaris's sh
author
Ian Lynagh
<igloo@earth.li>
Sat, 10 Nov 2007 18:00:14 +0000
(18:00 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 10 Nov 2007 18:00:14 +0000
(18:00 +0000)
libraries/gen_contents_index
patch
|
blob
|
history
diff --git
a/libraries/gen_contents_index
b/libraries/gen_contents_index
index
393a879
..
fd9048b
100644
(file)
--- a/
libraries/gen_contents_index
+++ b/
libraries/gen_contents_index
@@
-10,7
+10,7
@@
case $* in
GHC_PKG=../utils/ghc-pkg/ghc-pkg-inplace
for DIR in */
do
- NAME=${DIR%/}
+ NAME=`echo "$DIR" | sed 's#/$##'`
HADDOCK_FILE=$NAME/dist/doc/html/$NAME/$NAME.haddock
if [ -f $HADDOCK_FILE ]
then