Bug#374185: mkvmlinuz: syntax errors in script
reopen 374185
thanks
On Sat, Jun 17, 2006 at 08:15:29PM +0200, Wouter Verhelst wrote:
> --- mkvmlinuz.orig 2006-06-17 20:03:05.000000000 +0200
> +++ /usr/sbin/mkvmlinuz 2006-06-17 20:13:40.000000000 +0200
> @@ -60,7 +60,7 @@
> esac
>
> # use non-option arguments as release version and kernel image file if needed
> -shift $((OPTIND-1))
> +shift $(( $OPTIND - 1 ))
> if test -z "$release" -a -n "$1"; then
> release=$1
> fi
This part of the report is still valid no matter whether you're using
dash or bash. In bash, I get:
/usr/sbin/mkvmlinuz: 61: arith: syntax error: "OPTIND-1"
Please apply this part of Wouter's patch.
Thanks,
--
Colin Watson [cjwatson@debian.org]
Reply to: