[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-121-g2127566

Volker Lendecke vlendec at samba.org
Mon Mar 2 13:13:12 GMT 2009


The branch, master has been updated
       via  212756646efa85880a6b50aa7cb404e402c2ae4a (commit)
      from  88bd0f2ac6bb7ec41d72a1ea3d7ee90333f4e978 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 212756646efa85880a6b50aa7cb404e402c2ae4a
Author: Björn Jacke <bj at sernet.de>
Date:   Sun Mar 1 21:08:33 2009 +0100

    make man page (un)install more portable

-----------------------------------------------------------------------

Summary of changes:
 source4/script/installman.sh   |    2 +-
 source4/script/uninstallman.sh |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/script/installman.sh b/source4/script/installman.sh
index ae99bce..a3b6ec0 100755
--- 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
diff --git a/source4/script/uninstallman.sh b/source4/script/uninstallman.sh
index 72b523e..9b087c6 100755
--- 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


-- 
Samba Shared Repository


More information about the samba-cvs mailing list