diff options
author | Sangjung Woo <sangjung.woo@samsung.com> | 2016-09-22 15:42:54 +0900 |
---|---|---|
committer | Sangjung Woo <sangjung.woo@samsung.com> | 2016-09-22 15:44:20 +0900 |
commit | 318feba24a79115277c557841eaebc325fea7da9 (patch) | |
tree | 5f7f644dbf7f3cb68209c864afb370c0990ce39a | |
parent | 2756e20447ef8d89fab390296fff47e7929d97f8 (diff) | |
download | automotive-message-broker-318feba24a79115277c557841eaebc325fea7da9.tar.gz |
AmbSignalMapper: Fix Undefined subroutine error in json2amb
In order to generate plugin from JSON file, json2amb script is used.
However, below error occurs when executing json2amb script.
------------------------------------------------------------------------
$ json2amb -d SamsungCAN.json
Undefined subroutine &main::readFileContent called at
/usr/local/bin/json2amb line 111.
------------------------------------------------------------------------
This is mainly because readFileContent() subroutine is located in
Intel::IviPoc::AmbCommon but it is not loaded in json2amb script. This
patch fixes the error.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
-rwxr-xr-x | tools/AmbSignalMapper/bin/json2amb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/AmbSignalMapper/bin/json2amb b/tools/AmbSignalMapper/bin/json2amb index b785f2ee..8f02a590 100755 --- a/tools/AmbSignalMapper/bin/json2amb +++ b/tools/AmbSignalMapper/bin/json2amb @@ -21,6 +21,7 @@ use strict; use warnings FATAL => 'all'; use Intel::IviPoc::AmbPluginGenerator qw(processPlugin); +use Intel::IviPoc::AmbCommon; use Cwd; =head1 NAME |