[Pkg-dkms-maint] Bug#688904: dkms remove

Christoph Egger christoph at debian.org
Mon Oct 1 22:23:41 UTC 2012


Hi!

I'm not really a bash developer but it seems the regexes in
module_status_built are not expanded properly:

> ++ module_status_built fuse4bsd 0.3.9~pre1.20080208
> ++ local ret=1 directory ka k a state 'oifs= 	
> ' IFS=
> ++ for directory in '"$dkms_tree/$1/$2/"${3:-[0-9].*}/${4:-*}'
> ++ IFS=' 	
> '
> ++ ka='[0-9].*/*'
> ++ k='[0-9].*'
> ++ a='*'
> ++ is_module_built fuse4bsd 0.3.9~pre1.20080208 '[0-9].*' '*'
> ++ [[ -n fuse4bsd ]]
> ++ [[ -n 0.3.9~pre1.20080208 ]]
> ++ [[ -n [0-9].* ]]
> ++ [[ -n * ]]
> ++ local 'd=/var/lib/dkms/fuse4bsd/0.3.9~pre1.20080208/[0-9].*/*' m=
> ++ [[ -d /var/lib/dkms/fuse4bsd/0.3.9~pre1.20080208/[0-9].*/*/module ]]
> ++ return 1
> ++ continue
> ++ IFS=' 	
> '
> ++ return 1

Note: there is a directory named 10.0-0-amd64 there

Is this some kind of advanced bash glob that only matches a single digit
before the .?

Regards

    Christoph



More information about the Pkg-dkms-maint mailing list