for module in ; do \ if test -d $module; then \ (cd $module; \ if ./debian/rules KVERS="2.6.16.1-rt11" KSRC="/usr/src/linux" \ KMAINT="Unknown Kernel Package Maintainer" KEMAIL=" unknown@unconfigured.in.etc.kernel-pkg.conf" \ KPKG_DEST_DIR="/usr/src/linux/.." \ KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \ ARCH=i386 \ KPKG_EXTRAV_ARG="" \ KDREV="10.00.Custom" kdist_clean; then \ echo "Module $module cleaned"; \ else \ echo "Module $module failed to clean up"; \ echo "Hit return to Continue?"; \ read ans; \ fi; \ ); \ else \ echo "Module $module does not exist"; \ echo "Hit return to Continue?"; \ fi; \ done