mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
Patch for rq (send upstream)
svn path=/nixpkgs/trunk/; revision=12949
This commit is contained in:
parent
0e6536e5c6
commit
d2499a6e52
12
pkgs/applications/networking/cluster/rq/rq.patch
Normal file
12
pkgs/applications/networking/cluster/rq/rq.patch
Normal file
@ -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 }"
|
Loading…
Reference in New Issue
Block a user