From 03b77baa6f20b8eaa450e67b0e0e1ad6f5b686be Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Sat, 3 Dec 2005 01:03:16 +0000 Subject: r12040: merging packaging fixes from release branch (This used to be commit 47a9f2c3d6039a07a6970ac181aeb2888d47a353) --- source3/script/installman.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/script/installman.sh') diff --git a/source3/script/installman.sh b/source3/script/installman.sh index 3bbca1a8aa5..9235217ff00 100755 --- a/source3/script/installman.sh +++ b/source3/script/installman.sh @@ -19,8 +19,7 @@ if test ! -d $SRCDIR../docs/manpages; then fi # Get the configured feature set -test -f "${SRCDIR}/config.log" && \ - eval $( grep "^[[:alnum:]]*=.*" "${SRCDIR}/config.log") +test -f "${SRCDIR}/config.log" && eval `grep '^[A-Za-z0-9]*=.*' ${SRCDIR}/config.log` for lang in $langs; do if [ "X$lang" = XC ]; then @@ -44,7 +43,7 @@ for lang in $langs; do for sect in 1 5 7 8 ; do for m in $langdir/man$sect ; do for s in $SRCDIR../docs/manpages/$lang/*$sect; do - MP_BASENAME=${s##*/} + MP_BASENAME=`basename $s` # Check if this man page if required by the configured feature set case "${MP_BASENAME}" in -- cgit