Commit 3f0f3e78 authored by Claes Sjofors's avatar Claes Sjofors

Command 'source' changed to '.', source didn't work on ubuntu

parent 125bf467
......@@ -101,7 +101,7 @@ void RtMon::stop_ok_cb( void *ctx, void *data)
void RtMon::activate_reset()
{
char cmd[] = "source pwr_stop.sh";
char cmd[] = ". pwr_stop.sh";
system( cmd);
}
......
......@@ -557,7 +557,7 @@ void pkg_node::fetchFiles( bool distribute)
// Execute the pack file
char cmd[200];
sprintf( cmd, "source %s", pack_fname);
sprintf( cmd, ". %s", pack_fname);
system( cmd);
if ( distribute) {
......@@ -614,7 +614,7 @@ void pkg_node::copyPackage( char *pkg_name)
// Execute the pack file
char cmd[200];
sprintf( cmd, "source %s", pack_fname);
sprintf( cmd, ". %s", pack_fname);
system( cmd);
}
}
......
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