Transform drivers/scsi/Makefile into a patch too.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2179 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-09-22 20:13:53 +00:00
parent 7ec0a0c302
commit 148d79d2fa

View File

@@ -22,6 +22,9 @@ do
if [ ! -e "$f2" ]; then
f2="src/libsrpnew${f2#src/libsrp}"
fi
if [ "$g" = "Makefile" ]; then
f2="src/scsi-Makefile${f2#src/Makefile}"
fi
f3="in-tree-patches/${kernel_version}/$g.patch"
if [ "$f1" -nt "$f3" -o "$f2" -nt "$f3" ]; then
diff -up "$f1" "$f2" > "$f3"