Bug fix: made sure that the patch generated by command-line option -u actually compiles.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2132 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-09-16 10:56:37 +00:00
parent 53d2c612b7
commit 7ef57f0f9e
+5
View File
@@ -309,6 +309,11 @@ add_file "${tmp_Kconfig}" "drivers/scst/Kconfig"
tmp_Makefile="${tmpdir}/Makefile.scst-${kernel_version}"
cat "scst/kernel/in-tree/Makefile.scst-${kernel_version}" | \
if [ "${generating_upstream_patch}" = "true" ]; then
grep -v 'scst_proc'
else
cat
fi | \
if [ -e "${fcst_patch_series}" ]; then
cat
else