[ocaml] git am </dev/null to avoid hang (thanks Adam Jackson).

Richard W.M. Jones rjones at fedoraproject.org
Wed May 30 16:40:44 UTC 2012


commit 64a0f51339182007f8b41504d9d35a4b25180ad1
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed May 30 17:40:36 2012 +0100

    git am </dev/null to avoid hang (thanks Adam Jackson).

 ocaml.spec |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/ocaml.spec b/ocaml.spec
index 98e1898..1ab89ee 100644
--- a/ocaml.spec
+++ b/ocaml.spec
@@ -234,7 +234,7 @@ git config user.email "noone at example.com"
 git config user.name "no one"
 git add .
 git commit -a -q -m "%{version} baseline"
-git am %{patches}
+git am %{patches} </dev/null
 
 
 %build
@@ -505,6 +505,7 @@ fi
   * Remove chmod of GNU config.* files, since git does it.
   * Don't need to remove buildroot in install section.
   * Remove clean section.
+  * git am </dev/null to avoid hang (thanks Adam Jackson).
 - Note there is no functional change in the above.
 
 * Tue May 29 2012 Richard W.M. Jones <rjones at redhat.com> 3.12.1-6


More information about the scm-commits mailing list