Show command output directly in package_utils.sh

No need to run command in a subshell then echo the output,
just run the command directly is enough.

Change-Id: I7863f164dc680d98f460e36f96f4189fc311add6
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
This commit is contained in:
Zhao Lei
2015-09-23 18:40:36 +08:00
parent ef7b3f1430
commit 888933ff77

View File

@@ -51,7 +51,7 @@ get_packages() {
local spec_file="$2"
local version_separator="${3:-:}"
echo "$(python "$VERSIONS_PY" --separator "$version_separator" "$package_groups_file" "$spec_file")"
python "$VERSIONS_PY" --separator "$version_separator" "$package_groups_file" "$spec_file"
}
# download_packages <package_groups_file> <spec_file> [directory] [distro]