functions: Fix logic for get_os() function

To determine which OS the scripts are running on, check if the
build.prop file exists instead of using the lsb_release command.
If it does, then the scripts are running on Android; otherwise,
it's Ubuntu.

Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
1 file changed