Commit 0bf0dc63 authored by Claes Sjofors's avatar Claes Sjofors

Plc distribute fix for new directory structure

parent 80f66ebc
......@@ -177,11 +177,12 @@ void wb_pkg::readConfig()
// Add plc
if ( plcname[0] != 0) {
char dir[80];
pwr_tFileName dir;
sprintf( dir, "$pwrp_root/bld/%s/exe/", cdh_OpSysToStr( n.opsys()));
sprintf( fname, "%s%s", dir, plcname);
pkg_pattern pplc( fname, "", 'W');
sprintf( dir, "$pwrp_root/%s/exe/", cdh_OpSysToStr( n.opsys()));
pkg_pattern pplc( fname, dir, 'W');
n.push_back( pplc);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment