1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From: Dynamic Kernel Modules Support Team
<pkg-dkms-maint@lists.alioth.debian.org>
Date: Wed, 6 Jul 2016 05:24:47 +0800
Subject: 688904
---
dkms | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: dkms/dkms
===================================================================
--- dkms.orig/dkms
+++ dkms/dkms
@@ -20,6 +20,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
+shopt -s extglob
# All of the variables we will accept from dkms.conf.
# Does not include directives
@@ -1941,7 +1942,7 @@ module_status_built_extra() (
# we do not get word splitting where it would be inconvienent.
module_status_built() {
local ret=1 directory ka k a state oifs="$IFS" IFS=''
- for directory in "$dkms_tree/$1/$2/"${3:-[0-9].*}/${4:-*}; do
+ for directory in "$dkms_tree/$1/$2/"${3:-+([0-9]).*}/${4:-*}; do
IFS="$oifs"
ka="${directory#$dkms_tree/$1/$2/}"
k="${ka%/*}"
|