diff options
author | tv <tv@xso> | 2011-09-09 16:47:04 +0200 |
---|---|---|
committer | tv <tv@xso> | 2011-09-09 16:47:04 +0200 |
commit | 3edcd2b63b4d44fcd48eb5ab522f59a5456a009d (patch) | |
tree | e5ba9fd06a2edeb346ff92b94a24f19cde32cebf /god/Reaktor | |
parent | 1bc1b54e445f2d48d8f4c2080240a0f4e94d0c96 (diff) |
//god/Reaktor: sed w/o -i
Diffstat (limited to 'god/Reaktor')
-rwxr-xr-x | god/Reaktor/index | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/god/Reaktor/index b/god/Reaktor/index index a2e6fe61..6715eeda 100755 --- a/god/Reaktor/index +++ b/god/Reaktor/index @@ -27,11 +27,13 @@ fi cd tmp/jsb-$jsb_version # TODO only if it is not already configured properly -sed -i ' +cache="`cat config/udp-send`" +echo "$cache" | +sed ' s/^host *=.*/host="'$host'"/ s/^passwd *=.*/passwd="'$passwd'"/ s/^printto *=.*/printto="'$printto'"/ -' config/udp-send +' > config/udp-send # TODO output modules: stderr, jsb-udp, remount-ro, ... PYTHONUNBUFFERED=y $listener | tee /dev/stderr | bin/jsb-udp |