git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3: compile warning and upn handling
[kai/samba.git]
/
source4
/
script
/
installman.sh
diff --git
a/source4/script/installman.sh
b/source4/script/installman.sh
index ae99bceacf08f9017dc7bc11f68b479d25b1e2c4..3350eb87bc1a126debdd702f9f59a7593d5032d8 100755
(executable)
--- a/
source4/script/installman.sh
+++ b/
source4/script/installman.sh
@@
-6,7
+6,7
@@
MANPAGES=$*
for I in $MANPAGES
do
- SECTION=`echo
$I | grep -o '.$'
`
+ SECTION=`echo
-n $I | sed "s/.*\(.\)$/\1/"
`
DIR="$MANDIR/man$SECTION"
if [ ! -d "$DIR" ]
then