summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-06-09 21:57:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:22 -0500
commit7112413350938e8e0dcdc0ac2ec845e65a379b49 (patch)
treee6f4a88b5b972328ca92ead420555d0b09956b47 /source3/script
parent3b469083befa7159b700d5465db04b1be2d4ac5f (diff)
downloadsamba-7112413350938e8e0dcdc0ac2ec845e65a379b49.tar.gz
samba-7112413350938e8e0dcdc0ac2ec845e65a379b49.tar.bz2
samba-7112413350938e8e0dcdc0ac2ec845e65a379b49.zip
r16130: fix a shell portability issue for Solaris sh in installman.sh
(This used to be commit 9be3e07884e7f8121bc64766e7d036495cd94a15)
Diffstat (limited to 'source3/script')
-rwxr-xr-xsource3/script/installman.sh4
1 files changed, 2 insertions, 2 deletions
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