Fix git-am to terminate sanely if there's no patches
This commit is contained in:
parent
e862ba8497
commit
a37d43797a
@ -321,7 +321,7 @@ git commit -a -q -m "%{version} baseline."
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Apply all the patches.
|
# Apply all the patches.
|
||||||
git am -p1 %{patches}
|
git am -p1 %{patches} < /dev/null
|
||||||
|
|
||||||
%if %{with_hw_servers} && !0%{?gitdate}
|
%if %{with_hw_servers} && !0%{?gitdate}
|
||||||
# check the ABI in the source against what we expect.
|
# check the ABI in the source against what we expect.
|
||||||
|
Loading…
Reference in New Issue
Block a user