if [ "$MODULES" = "most" ]; then
archcrypto="$(find "$MODULESDIR/kernel/arch" -type d -name "crypto")"
copy_modules_dir "${archcrypto##*${MODULESDIR}/}"
copy_modules_dir "kernel/crypto"
else
thats the function at fault ...
archcrypto is empty, that makes copy_modules_dir being called with an empty string, which in turn copies the toplevel modules directory
if [ "$MODULES" = "most" ]; then "$(find "$MODULESDIR/ kernel/ arch" -type d -name "crypto")" #*${MODULESDIR} /}"
archcrypto=
copy_modules_dir "${archcrypto#
copy_modules_dir "kernel/crypto"
else
thats the function at fault ...
archcrypto is empty, that makes copy_modules_dir being called with an empty string, which in turn copies the toplevel modules directory