svn commit: samba r16130 - branches/SAMBA_3_0/source/script
branches/SAMBA_3_0_RELEASE/source/script trunk/source/script
jerry at samba.org
jerry at samba.org
Fri Jun 9 21:57:42 GMT 2006
Author: jerry
Date: 2006-06-09 21:57:42 +0000 (Fri, 09 Jun 2006)
New Revision: 16130
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16130
Log:
fix a shell portability issue for Solaris sh in installman.sh
Modified:
branches/SAMBA_3_0/source/script/installman.sh
branches/SAMBA_3_0_RELEASE/source/script/installman.sh
trunk/source/script/installman.sh
Changeset:
Modified: branches/SAMBA_3_0/source/script/installman.sh
===================================================================
--- branches/SAMBA_3_0/source/script/installman.sh 2006-06-09 21:10:08 UTC (rev 16129)
+++ branches/SAMBA_3_0/source/script/installman.sh 2006-06-09 21:57:42 UTC (rev 16130)
@@ -20,7 +20,7 @@
# 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 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
Modified: branches/SAMBA_3_0_RELEASE/source/script/installman.sh
===================================================================
--- branches/SAMBA_3_0_RELEASE/source/script/installman.sh 2006-06-09 21:10:08 UTC (rev 16129)
+++ branches/SAMBA_3_0_RELEASE/source/script/installman.sh 2006-06-09 21:57:42 UTC (rev 16130)
@@ -20,7 +20,7 @@
# 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 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
Modified: trunk/source/script/installman.sh
===================================================================
--- trunk/source/script/installman.sh 2006-06-09 21:10:08 UTC (rev 16129)
+++ trunk/source/script/installman.sh 2006-06-09 21:57:42 UTC (rev 16130)
@@ -20,7 +20,7 @@
# 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 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
More information about the samba-cvs
mailing list