scripts/generate-kernel-patch: Only add scst/README_in-tree if present

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7793 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-04 21:19:52 +00:00
parent 98729e73d0
commit 5f77ac3dd3
+3 -1
View File
@@ -395,7 +395,9 @@ EOF
done
{
add_file "scst/README_in-tree" "Documentation/scst/README.scst"
if [ -e scst/README_in-tree ]; then
add_file "scst/README_in-tree" "Documentation/scst/README.scst"
fi
add_file "scst/SysfsRules" "Documentation/scst/SysfsRules"
} | process_patch "scst_11_core_doc.diff"