From 687d1dba5d7fb05eb5f282f58ff5cf66fa574755 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 15 Jul 2019 14:44:05 +0200 Subject: lib/common-functions: extract_dependencies_from_package(): output to stdout --- lib/common-functions | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/common-functions b/lib/common-functions index 630b232..1b8eee7 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -1046,8 +1046,8 @@ update_blocked_packages_count() { ) } -# extract_dependencies_from_package $pkgfile $depfile -# extract make-, run- and check-depends from $pkgfile into $depfile +# extract_dependencies_from_package $pkgfile +# extract make-, run- and check-depends from $pkgfile # format: deptype install_target version_relation epoch version extract_dependencies_from_package() { { @@ -1080,6 +1080,5 @@ extract_dependencies_from_package() { ' } \ | tr '[:upper:]' '[:lower:]' \ - | sort -u \ - > "$2" + | sort -u } -- cgit v1.2.3-70-g09d2