diff --git a/copy-builtin b/copy-builtin index 02c0926c32..8be8b4381b 100755 --- a/copy-builtin +++ b/copy-builtin @@ -12,9 +12,11 @@ usage() KERNEL_DIR="$(readlink --canonicalize-existing "$1")" MODULES=() +MODULES+="spl" for MODULE_DIR in module/* do [ -d "$MODULE_DIR" ] || continue + [ "spl" = "${MODULE_DIR##*/}" ] && continue MODULES+=("${MODULE_DIR##*/}") done