-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
Labels
Description
My tarball contains a .tarball-version file in the top-level source directory, that is used to set the version number internally. However, dkms's add_source_tree() function uses the command cp -fr "$from"/* "$source_tree/$module-$module_version", which does not match the dot-files in the "$from" directory.
I suggest changing it to cp -fr "$from"/{,.[^.]}* "$source_tree/$module-$module_version". It could also be changed to cp -frT "$from" "$source_tree/$module-$module_version", but POSIX cp does not support the -T option. (GNU coreutils cp and BusyBox cp both support it.)
Reactions are currently unavailable