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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user