[offlineimap] Fix git-am to terminate sanely if there's no patches
Adam Jackson
ajax at fedoraproject.org
Wed Feb 22 18:15:04 UTC 2012
commit b2b12cae18601a1a386bffe931debf963633ed96
Author: Adam Jackson <ajax at redhat.com>
Date: Wed Feb 22 13:15:03 2012 -0500
Fix git-am to terminate sanely if there's no patches
offlineimap.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/offlineimap.spec b/offlineimap.spec
index a47bb7f..2221733 100644
--- a/offlineimap.spec
+++ b/offlineimap.spec
@@ -41,7 +41,7 @@ git config user.name "Offlineimap Maintainer"
git add .
git commit -a -q -m "%{version} baseline."
# Apply all the patches on top.
-git am %{patches}
+git am %{patches} < /dev/null
%build
make build
More information about the scm-commits
mailing list