diff options
author | Pjotr Prins <pjotr.public01@thebird.nl> | 2008-10-05 08:48:23 +0000 |
---|---|---|
committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2008-10-05 08:48:23 +0000 |
commit | d2499a6e5285f9c42280b33080d52374fa4b2b7a (patch) | |
tree | 0594b9110a85f4a08adec1e28f5e33858845c5c3 /pkgs/applications/networking/cluster | |
parent | 0e6536e5c62d149b11c0f4ec81929230788aea14 (diff) |
Patch for rq (send upstream)
svn path=/nixpkgs/trunk/; revision=12949
Diffstat (limited to 'pkgs/applications/networking/cluster')
-rw-r--r-- | pkgs/applications/networking/cluster/rq/rq.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/rq/rq.patch b/pkgs/applications/networking/cluster/rq/rq.patch new file mode 100644 index 0000000000000..d57c7d0a71a85 --- /dev/null +++ b/pkgs/applications/networking/cluster/rq/rq.patch @@ -0,0 +1,12 @@ +diff -r b58e759f84db lib/rq/jobrunner.rb +--- a/lib/rq/jobrunner.rb Sun Sep 28 13:33:06 2008 +0200 ++++ b/lib/rq/jobrunner.rb Sun Sep 28 13:35:09 2008 +0200 +@@ -85,7 +85,7 @@ unless defined? $__rq_jobrunner__ + + command = + if @sh_like +- sin = "0<#{ @stdin }" if @stdin ++ sin = "0<#{ @stdin }" if @stdin and File.exist?(@stdin) + sout = "1>#{ @stdout }" if @stdout + serr = "2>#{ @stderr }" if @stderr + "( PATH=#{ path }:$PATH #{ command } ;) #{ sin } #{ sout } #{ serr }" |