Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-15 14:44:05 +0200
committerErich Eckner <git@eckner.net>2019-07-15 14:44:05 +0200
commit687d1dba5d7fb05eb5f282f58ff5cf66fa574755 (patch)
tree233c83e39fdb069e8e3aed29b42ede7618ab8ef7 /lib
parent16568b2c057c30c06735f7723f7cb6c04803adf7 (diff)
lib/common-functions: extract_dependencies_from_package(): output to stdout
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions7
1 files changed, 3 insertions, 4 deletions
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
}