diff options
author | Gerald Carter <jerry@samba.org> | 2006-06-09 21:57:42 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2006-06-09 21:57:42 +0000 |
commit | 5a17cf3336909d10bcea29b9346596335dc91e59 (patch) | |
tree | 2be49dd66e4ff1b3855576e30f1eb4235e08f9a4 | |
parent | 9c11021ebbfda6369df07123e64a3b8b64104cba (diff) | |
download | samba-5a17cf3336909d10bcea29b9346596335dc91e59.tar.gz |
r16130: fix a shell portability issue for Solaris sh in installman.sh
-rwxr-xr-x | source/script/installman.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/script/installman.sh b/source/script/installman.sh index 3bbca1a8aa5..869ce6ee38e 100755 --- a/source/script/installman.sh +++ b/source/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 |