Fix uninstallman.
authorMatthias Dieter Wallnoefer <mwallnoefer@yahoo.de>
Fri, 20 Mar 2009 15:22:02 +0000 (16:22 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 20 Mar 2009 15:22:02 +0000 (16:22 +0100)
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
source4/script/uninstallman.sh

index 9b087c68bb259ab2166e24a75ab754d9a8d19040..edc1c47e4df84ae8985ba8dc86bec32c50e9b418 100755 (executable)
@@ -8,7 +8,7 @@ MANPAGES=$*
 
 for I in $MANPAGES
 do
 
 for I in $MANPAGES
 do
-       SECTION=`echo -n $I | sed "s/.*\(.\)$/\1/"
+       SECTION=`echo -n $I | sed "s/.*\(.\)$/\1/"`
        FNAME=$MANDIR/man$SECTION/$I
        if test -f $FNAME; then
          echo Deleting $FNAME
        FNAME=$MANDIR/man$SECTION/$I
        if test -f $FNAME; then
          echo Deleting $FNAME