Fix git-am to terminate sanely if there's no patches

This commit is contained in:
Adam Jackson 2012-02-22 13:17:53 -05:00
parent e862ba8497
commit a37d43797a

View File

@ -321,7 +321,7 @@ git commit -a -q -m "%{version} baseline."
%endif
# Apply all the patches.
git am -p1 %{patches}
git am -p1 %{patches} < /dev/null
%if %{with_hw_servers} && !0%{?gitdate}
# check the ABI in the source against what we expect.