On Fri, 31 Jan 2003, Esa Tikka wrote:
> I wonder if the check in configure should be modified as follows:
>
> echo "yes, version code $GLIBC_VERSION_CODE"
> - if test $GLIBC_VERSION_CODE -le 2001; then
> + if test $GLIBC_VERSION_CODE -lt 2001; then
> echo Sorry, you need glibc-2.1.3 or newer.
yes you are right, that should have been a "-lt".
> Another thing I have to modify is /usr/local/bin/dosemu script:
>
> if [ -n "$STRING_I" ] ; then
> - exec $SUDO $BINARY $XFLAG "-I $STRING_I" "${par[@]}"
> + exec $SUDO $BINARY $XFLAG "-I $STRING_I" "$par{@}"
> else
> - exec $SUDO $BINARY $XFLAG "${par[@]}"
> + exec $SUDO $BINARY $XFLAG "$par{@}"
> fi
>
> This is with GNU bash, version 1.14.7(1), the error I get is
>
> /usr/local/bin/dosemu: ${par[@]}: bad substitution
>
> Otherwise everything seems to be all right.
Thanks. Literate passing of parameters is always a little tricky; I'll see
if it works OK for bash2 too. "$par{@}" doesn't seem to be documented
though. IIRC Debian has got a script which only requires /bin/sh so that
might be worth looking into.
Bart
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html