From 7112413350938e8e0dcdc0ac2ec845e65a379b49 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 9 Jun 2006 21:57:42 +0000 Subject: r16130: fix a shell portability issue for Solaris sh in installman.sh (This used to be commit 9be3e07884e7f8121bc64766e7d036495cd94a15) --- source3/script/installman.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/script') diff --git a/source3/script/installman.sh b/source3/script/installman.sh index 3bbca1a8aa..869ce6ee38 100755 --- a/source3/script/installman.sh +++ b/source3/script/installman.sh @@ -20,7 +20,7 @@ fi # Get the configured feature set test -f "${SRCDIR}/config.log" && \ - eval $( grep "^[[:alnum:]]*=.*" "${SRCDIR}/config.log") + eval `grep "^[[:alnum:]]*=.*" "${SRCDIR}/config.log"` for lang in $langs; do if [ "X$lang" = XC ]; then @@ -44,7 +44,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