revert patch from bug 190327
[genkernel.git] / gen_moddeps.sh
index 840b2ca67c57315cb765c505830c0590d5f6d58c..a699e66bda2a67ec846ce8274bda4efc8b574a11 100644 (file)
@@ -62,5 +62,8 @@ gen_dep_list()
        done
 
        # Only list each module once
-       cat ${TEMP}/moddeps | sort | uniq
+       if [ -f ${TEMP}/moddeps ]
+       then
+           cat ${TEMP}/moddeps | sort | uniq
+       fi
 }