allpy
changeset 458:6bdddbe94fc7
blocks3d/wt: fix hardcode of blocks3d.py path
author | boris <bnagaev@gmail.com> |
---|---|
date | Wed, 16 Feb 2011 22:35:02 +0300 |
parents | ffeb89f0df74 |
children | 46d8caca3f47 |
files | blocks3d/wt/blocks3d-wt-widget.C blocks3d/wt/config.h |
diffstat | 2 files changed, 3 insertions(+), 4 deletions(-) [+] |
line diff
1.1 --- a/blocks3d/wt/blocks3d-wt-widget.C Wed Feb 16 22:34:11 2011 +0300 1.2 +++ b/blocks3d/wt/blocks3d-wt-widget.C Wed Feb 16 22:35:02 2011 +0300 1.3 @@ -238,10 +238,10 @@ 1.4 1.5 std::string cmd = str( 1.6 boost::format("cd %s ; " 1.7 - "%s %s -i %s %s -H %s -d %s -m %s -t %s -T %s; " 1.8 + "%s -i %s %s -H %s -d %s -m %s -t %s -T %s; " 1.9 "echo 'f' > %s;") 1.10 % Malakite::temp_path 1.11 - % Malakite::python_path % Malakite::blocks3d_path 1.12 + % Malakite::blocks3d_call 1.13 % tempfile_alignment 1.14 % conformity_option 1.15 % tempfile_html
2.1 --- a/blocks3d/wt/config.h Wed Feb 16 22:34:11 2011 +0300 2.2 +++ b/blocks3d/wt/config.h Wed Feb 16 22:35:02 2011 +0300 2.3 @@ -7,8 +7,7 @@ 2.4 const int refresh_period = 5*1000; 2.5 const unsigned int max_simultaneous_tasks = 100; 2.6 2.7 -const char* const python_path = "python"; 2.8 -const char* const blocks3d_path = "/home/boris/my-code/Blocks3D/Blocks3D_v5/Blocks3D.py"; 2.9 +const char* const blocks3d_call = "blocks3d"; 2.10 const char* const temp_path = "/tmp"; 2.11 const char* const temp_mkstemp_path = "/tmp/XXXXXX"; 2.12