git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix uninstallman.
[ira/wip.git]
/
source4
/
script
/
uninstallman.sh
diff --git
a/source4/script/uninstallman.sh
b/source4/script/uninstallman.sh
old mode 100644
(file)
new mode 100755
(executable)
index
72b523e
..
edc1c47
--- a/
source4/script/uninstallman.sh
+++ b/
source4/script/uninstallman.sh
@@
-8,7
+8,7
@@
MANPAGES=$*
for I in $MANPAGES
do
- SECTION=`echo
$I | grep -o '.$'
`
+ SECTION=`echo
-n $I | sed "s/.*\(.\)$/\1/"
`
FNAME=$MANDIR/man$SECTION/$I
if test -f $FNAME; then
echo Deleting $FNAME