installerfw-sh-functions: do not omit the last line
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 14 Feb 2014 16:20:03 +0000 (18:20 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 14 Feb 2014 16:38:57 +0000 (18:38 +0200)
commita3819b34179623cf6052bd9aedf91ecc3258830f
tree252c0af8c940a26c7735b2e58d34699c8cfd8b41
parent5168e38e6397dc7285138a453af0461363dad262
installerfw-sh-functions: do not omit the last line

When we are restoring the installer-framework environment in the
'installerfw_restore_env()', we read the '/etc/installerfw-environment' file
line-by line, and export variables.

However, if the last line does not contain the newline character, we ignore it.
So we miss the last variable and do not export it.

This patch fixes the problem, which also fixes TIVI-2652.

Change-Id: I47f560e32a6951b492b0e430a769c4dfc29e5cb5
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
installerfw-sh-functions