git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdfb8e3
)
Match man_MANS = files with directories in them.
author
Love Hörnquist Åstrand
<lha@kth.se>
Tue, 25 Mar 2008 12:58:05 +0000
(12:58 +0000)
committer
Love Hörnquist Åstrand
<lha@kth.se>
Tue, 25 Mar 2008 12:58:05 +0000
(12:58 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22779
ec53bebd
-3082-4978-b11e-
865c3cabbd6b
cf/install-catman.sh
patch
|
blob
|
history
diff --git
a/cf/install-catman.sh
b/cf/install-catman.sh
index ade0eebe905431feed2c18e1c0953b0ed0291765..4f63cb406a93cf52552c2873947f0a7356413847 100755
(executable)
--- a/
cf/install-catman.sh
+++ b/
cf/install-catman.sh
@@
-13,8
+13,9
@@
suffix="$1"; shift
catinstall="${INSTALL_CATPAGES-yes}"
for f in "$@"; do
- base=`echo "$f" | sed 's/\(.*\)\.\([^.]*\)$/\1/'`
- section=`echo "$f" | sed 's/\(.*\)\.\([^.]*\)$/\2/'`
+ echo $f
+ base=`echo "$f" | sed 's/\([^/]*\/\)*\(.*\)\.\([^.]*\)$/\2/'`
+ section=`echo "$f" | sed 's/\([^/]*\/\)*\(.*\)\.\([^.]*\)$/\3/'`
mandir="$manbase/man$section"
catdir="$manbase/cat$section"
c="$base.cat$section"