[xorg-x11-server] Fix git-am to terminate sanely if there's no patches
Adam Jackson
ajax at fedoraproject.org
Wed Feb 22 18:17:55 UTC 2012
commit a37d43797a3e9ee8df99b3a496effe6d1c459910
Author: Adam Jackson <ajax at redhat.com>
Date: Wed Feb 22 13:17:53 2012 -0500
Fix git-am to terminate sanely if there's no patches
xorg-x11-server.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xorg-x11-server.spec b/xorg-x11-server.spec
index fc3eead..b6f3d22 100644
--- a/xorg-x11-server.spec
+++ b/xorg-x11-server.spec
@@ -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.
More information about the scm-commits
mailing list