Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/nit-picker2
-rwxr-xr-xlib/common-functions7
2 files changed, 4 insertions, 5 deletions
diff --git a/bin/nit-picker b/bin/nit-picker
index 4382389..70adcdd 100755
--- a/bin/nit-picker
+++ b/bin/nit-picker
@@ -170,7 +170,7 @@ while pgrep -x ii >/dev/null \
"${tmp_dir}/"
extract_dependencies_from_package \
"${tmp_dir}/${parameters}" \
- "${tmp_dir}/pkg-deps"
+ > "${tmp_dir}/pkg-deps"
{
printf 'SELECT'
printf ' `dependency_types`.`name`,'
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
}