[Pkg-octave-commit] [SCM] Debian packaging for octave-parallel branch, master, updated. upstream/2.0.5-10-ga4f4acb

Rafael Laboissiere rafael at laboissiere.net
Mon Mar 26 09:01:16 UTC 2012


The following commit has been merged in the master branch:
commit a4f4acb18f7edb46e08d3b26ab00cb5a477e9365
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Sat Mar 24 19:02:09 2012 +0100

    Ensure that Octave path is set when launching the server
    
    Git-Dch: Ignore

diff --git a/debian/check.m b/debian/check.m
index bc212a1..89ed202 100644
--- a/debian/check.m
+++ b/debian/check.m
@@ -7,7 +7,11 @@
 disp ("[Hello, again!]");
 
 ### Launches a server as another process in the same system
-system ("octave -q inst/server.m");
+cmd = sprintf ("%s%s",
+               "addpath (genpath ([pwd(),\"/debian\"]));",
+               "source inst/server.m;");
+
+[status, out] = system (sprintf ("echo '%s' | octave -q", cmd));
 
 ### Connect all the "servers"
 hosts = [ "127.0.0.1"; "127.0.0.1" ];

-- 
Debian packaging for octave-parallel



More information about the Pkg-octave-commit mailing list